!function (i) {
    var e = {};

    function r(t) {
        if (e[t]) return e[t].exports;
        var n = e[t] = {i: t, l: !1, exports: {}};
        return i[t].call(n.exports, n, n.exports, r), n.l = !0, n.exports
    }

    r.m = i, r.c = e, r.d = function (t, n, i) {
        r.o(t, n) || Object.defineProperty(t, n, {enumerable: !0, get: i})
    }, r.r = function (t) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
    }, r.t = function (n, t) {
        if (1 & t && (n = r(n)), 8 & t) return n;
        if (4 & t && "object" == typeof n && n && n.__esModule) return n;
        var i = Object.create(null);
        if (r.r(i), Object.defineProperty(i, "default", {
            enumerable: !0,
            value: n
        }), 2 & t && "string" != typeof n) for (var e in n) r.d(i, e, function (t) {
            return n[t]
        }.bind(null, e));
        return i
    }, r.n = function (t) {
        var n = t && t.__esModule ? function () {
            return t["default"]
        } : function () {
            return t
        };
        return r.d(n, "a", n), n
    }, r.o = function (t, n) {
        return Object.prototype.hasOwnProperty.call(t, n)
    }, r.p = "", r(r.s = 27)
}([function (t, n) {
    t.exports = {
        e: Object.prototype.hasOwnProperty, a: function (t, n) {
            for (var i = t, e = n.split("."); e.length;) {
                if (i === undefined || null === i) return undefined;
                i = i[e.shift()]
            }
            return i
        }, u: function (t) {
            if ("object" != typeof t) return "";
            var n = [];
            for (var i in t) this.e.call(t, i) && n.push(i + "=" + encodeURIComponent(t[i]));
            return n.join("&")
        }, f: function (t) {
            for (var n in t) return !1;
            return !0
        }, h: function (t, i) {
            return t.replace(/{(\w*?)}/g, function (t, n) {
                return i[n] === undefined ? "" : i[n]
            })
        }, v: function (t) {
            var n = {'"': "&quot;", ">": "&gt;", "<": "&lt;", "&": "&amp;"};
            return t.replace(/["<>&]/g, function (t) {
                return n[t]
            })
        }, _: function (t, r) {
            var o = this;
            return t.replace(/\{(\w+):(\w+)\}/g, function (t, n, i) {
                var e = r[n];
                switch (i) {
                    case"number":
                        e = +e || 0;
                        break;
                    case"boolean":
                        e = !!e;
                        break;
                    case"html":
                        e = o.v(e)
                }
                return e
            })
        }, w: function (t) {
            var n = "";
            return window.JSON && window.JSON.parse && (n = window.JSON.parse(t)), n
        }, y: function (t) {
            var n = "";
            try {
                n = window.JSON && window.JSON.stringify ? window.JSON.stringify(t) : window.eval(t)
            } catch (i) {
            }
            return n
        }, b: function (t) {
            return t.replace(/(^\s*)|(\s*$)/g, "")
        }, x: function (t) {
            for (var n = [], i = {}, e = t.length, r = 0; r < e; r++) {
                var o = t[r];
                i[o] || (i[n[n.length] = o] = !0)
            }
            return n
        }, I: function (t) {
            return "[object Array]" === Object.prototype.toString.call(t)
        }, A: function (t) {
            return "[object Function]" === Object.prototype.toString.call(t)
        }, k: function (t) {
            return "[object Object]" === Object.prototype.toString.call(t)
        }, S: function (t) {
            return "[object Number]" === Object.prototype.toString.call(t)
        }, C: function (t) {
            return "[object String]" === Object.prototype.toString.call(t)
        }, T: function (t) {
            var n, i = Object.prototype.hasOwnProperty;
            if (!(t && "[object Object]" === Object.prototype.toString.call(t) && "isPrototypeOf" in t)) return !1;
            if (t.constructor && !i.call(t, "constructor") && !i.call(t.constructor.prototype, "isPrototypeOf")) return !1;
            for (n in t) ;
            return n === undefined || i.call(t, n)
        }, D: function (t) {
            var n, i, e = t;
            if (!t || t instanceof Number || t instanceof String || t instanceof Boolean) return e;
            if (this.I(t)) {
                e = [];
                var r = 0;
                for (n = 0, i = t.length; n < i; n++) e[r++] = this.D(t[n])
            } else if (this.T(t)) for (n in e = {}, t) t.hasOwnProperty(n) && (e[n] = this.D(t[n]));
            return e
        }, O: function (t, n) {
            var i = Array.prototype.slice.apply(arguments), e = i.shift(),
                r = "function" == typeof this ? this : i.shift();
            return function () {
                var t = Array.prototype.slice.apply(arguments);
                return r.apply(e, t.concat(i))
            }
        }
    }
}, function (t, n) {
    t.exports = {
        P: "BAIDU_SSP_",
        M: "___baidu_union_callback",
        U: "https:",
        R: "https:" === document.location.protocol,
        B: "___adblockplus_",
        N: "BAIDU_SSP_lcr",
        L: "//pos.baidu.com/",
        F: "",
        j: "pos.baidu.com",
        H: "HTML_POST",
        z: "SSP_JSONP",
        W: "STATIC_JSONP",
        V: "//pos.baidu.com/bfp/snippetcacher.php?",
        q: 1,
        J: 2,
        G: 4,
        X: 8,
        K: 16,
        Y: "pageSearchId",
        $: "0",
        Q: "AUTO_JSONP",
        Z: 4,
        tt: "auto_dup",
        nt: "auto_ds",
        it: "111003",
        et: "___ds_storage__auto",
        rt: 500,
        ot: 114999,
        at: 114998,
        ut: "fatalError",
        ct: "remote",
        st: "BAIDU_DUP2_pageFirstRequestTime",
        ft: "DUP_FLAG",
        dt: "https://dup.baidustatic.com/dup/painter/",
        lt: "__baidu_dup_jobruner",
        ht: 111e3,
        vt: 110760,
        pt: 110780,
        _t: 110790,
        wt: /^u\d+_\d+$/,
        mt: {CLOSEAD: "closeAd", NOAD: "noAd"},
        gt: "___ds_storage__isblock",
        yt: 20,
        bt: 5,
        xt: {
            1: {verticalType: "center", horizontalType: "center"},
            2: {verticalType: "top", horizontalType: ""},
            3: {verticalType: "bottom"},
            4: {verticalType: "", horizontalType: "left"},
            5: {horizontalType: "right"},
            7: {verticalType: "top", horizontalType: "left"},
            8: {verticalType: "top", horizontalType: "right"},
            9: {verticalType: "bottom", horizontalType: "left"},
            10: {verticalType: "bottom", horizontalType: "right"}
        }
    }
}, function (t, n, f) {
    var r = f(0), d = f(6), a = f(19), e = f(4);
    t.exports = {
        g: function (t, n) {
            return t ? r.C(t) && 0 < t.length ? (n = n || window).document.getElementById(t) : !t.nodeName || 1 !== t.nodeType && 9 !== t.nodeType ? null : t : null
        }, It: function (t, n) {
            if (!t) return null;
            var i;
            if (document.getElementsByClassName) i = document.getElementsByClassName(t); else {
                i = [];
                for (var e = document.getElementsByTagName(n), r = 0, o = e.length; r < o; r++) {
                    var a = e[r], u = a.getAttribute("class") || a.getAttribute("className");
                    u && 0 <= u.indexOf(t) && i.push(a)
                }
            }
            return i
        }, At: function (t, n, i) {
            if (!t) return null;
            if (1 === t.nodeType) return t;
            var e = this.It(t, n);
            if (i instanceof Function) for (var r = 0, o = e.length; r < o; r++) if (i(e[r])) return e[r];
            return e[0]
        }, kt: function (t) {
            if (t.St) return t.St;
            var n = t.containerId;
            return t.St = this.g(n) || this.At(n, "div", function (t) {
                var n = e.__slotMap;
                for (var i in n) if (n.hasOwnProperty(i) && n[i] && n[i].St === t) return !1;
                return !0
            }), t.St
        }, Ct: function (t) {
            return 9 === t.nodeType ? t : t.ownerDocument || t.document
        }, Tt: function (t) {
            var n = this.Ct(t);
            return n.parentWindow || n.defaultView || null
        }, Dt: function (t) {
            try {
                if (t && "object" == typeof t && t.document && "setInterval" in t) return !0
            } catch (n) {
                return !1
            }
            return !1
        }, Et: function (t, n) {
            return (t = t || window) != window.top && t != t.parent || !this.Dt(t)
        }, Ot: function (t) {
            try {
                return !!t.parent.location.toString()
            } catch (n) {
                return !1
            }
        }, Pt: function (t, n) {
            n = 2 === arguments.length ? n : t.parent;
            for (var i = 0; i++ < 10 && this.Et(t, n);) {
                if (!this.Ot(t)) return !0;
                t = t.parent
            }
            return 10 <= i
        }, Mt: function (t, n, u) {
            var c = (u = u || this.win || window).document;
            n = n || 0, this.domReadyMonitorRunTimes = 0, this.readyFuncArray = this.readyFuncArray || [], this.readyFuncArray.push({
                func: t,
                delay: n,
                done: !1
            });
            var i = r.O(this, function () {
                var t = !1;
                this.domReadyMonitorRunTimes++;
                var n = !1;
                try {
                    u.frameElement && (n = !0)
                } catch (o) {
                    n = !0
                }
                if (d.ie && d.ie < 9 && !n) try {
                    c.documentElement.doScroll("left"), t = !0
                } catch (o) {
                } else if ("complete" === c.readyState || this.domContentLoaded) t = !0; else if (3e5 < this.domReadyMonitorRunTimes) return void (this.domReadyMonitorId && (u.clearInterval(this.domReadyMonitorId), this.domReadyMonitorId = null));
                if (t) try {
                    if (this.readyFuncArray && this.readyFuncArray.length) for (var i = 0, e = this.readyFuncArray.length; i < e; i++) {
                        var r = this.readyFuncArray[i];
                        r && r.func && !r.done && (r.delay ? (r.done = !0, u.setTimeout(r.func, r.delay)) : (r.done = !0, r.func()))
                    }
                } catch (a) {
                } finally {
                    this.domReadyMonitorId && (u.clearInterval(this.domReadyMonitorId), this.domReadyMonitorId = null)
                }
            }), e = r.O(this, function () {
                this.domContentLoaded = !0, i()
            });
            this.domReadyMonitorId || (this.domReadyMonitorId = u.setInterval(i, 50), c.addEventListener ? (c.addEventListener("DOMContentLoaded", e, !1), u.addEventListener("load", e, !1)) : c.attachEvent && u.attachEvent("onload", e, !1))
        }, Ut: function (t, n, i) {
            return n = n.replace(/^on/i, "").toLowerCase(), t.addEventListener ? t.addEventListener(n, i, !1) : t.attachEvent && t.attachEvent("on" + n, i), t
        }, Rt: function (t, n, i) {
            return n = n.replace(/^on/i, "").toLowerCase(), t.removeEventListener ? t.removeEventListener(n, i, !1) : t.attachEvent && t.detachEvent("on" + n, i), t
        }, Bt: function (t, n) {
            1 === arguments.length && r.S(t) && (n = t, t = undefined), n = n || 10;
            for (var i = window, e = 0; e++ < n && this.Et(i) && !this.Pt(i) && (!t || !t(i));) i = i.parent;
            return i
        }, Nt: function (t) {
            var n = this.Dt(t) ? t.document : this.Ct(t);
            return "CSS1Compat" === n.compatMode ? n.documentElement : n.body
        }, Lt: function (t) {
            var n = document.createElement("script");
            n.type = "text/javascript", n.async = !0, n.src = t;
            var i = document.getElementsByTagName("script")[0];
            i.parentNode && i.parentNode.insertBefore(n, i)
        }, Ft: function (t) {
            switch (t.nodeName.toLowerCase()) {
                case"a":
                case"script":
                case"iframe":
                case"br":
                case"title":
                case"option":
                case"button":
                case"h1":
                case"h2":
                case"h3":
                case"h4":
                case"h5":
                case"h6":
                    return !1;
                default:
                    return !0
            }
        }, jt: function (t, i, n, e) {
            try {
                var r = t || document.createElement("script");
                if (!r.attachEvent || r.attachEvent.toString && r.attachEvent.toString().indexOf("[native code") < 0 || d.opera ? (this.Ut(r, "error", n), this.Ut(r, "load", i)) : this.Ut(t, "readystatechange", function (t) {
                    var n = (t.currentTarget || t.srcElement).readyState;
                    "complete" !== n && "loaded" !== n || i(t)
                }), !t && e) {
                    for (var o in r.type = "text/javascript", r.async = !0, e) e.hasOwnProperty(o) && (r[o] = e[o]);
                    var a = document.getElementsByTagName("base")[0] || document.getElementsByTagName("script")[0];
                    a.parentNode.insertBefore(r, a)
                }
                return r
            } catch (s) {
                var u = f(5), c = f(1);
                u.Ht(c.ut, s, {pos: "loadScriptError"})
            }
        }, zt: function (t, n) {
            if (a.Wt(20) && (n = this.Vt() + n), a.Wt(20) && (n += this.Vt()), a.Wt(20)) {
                for (var i = "", e = "", r = a.qt(1, 3), o = 0; o < r; o++) i += this.Jt(), e += "</div>";
                n = i + n + e
            }
            return t.removeAttribute && (t.removeAttribute("id"), t.removeAttribute("style")), n
        }, Vt: function () {
            var t = a.Gt(["div", "abbr", "span", "ins", "em"]), n = "";
            a.Wt(20) && (n = ' id="' + a.Xt(5, 10) + '" ');
            var i = "";
            a.Wt(20) && (i = ' class="' + a.Xt(6, 15) + '" ');
            var e = a.Gt(["display:none;", "width:0px;height:0px;"]);
            a.Wt(50) && (e += a.Kt()), e = ' style="' + e + '" ';
            return r.h("<{tagname} {idString} {classString} {styleString}></{tagname}>", {
                tagname: t,
                idString: n,
                classString: i,
                styleString: e
            })
        }, Jt: function () {
            var t = "";
            a.Wt(30) && (t = ' id="' + a.Xt(5, 10) + '" ');
            var n = "";
            a.Wt(60) && (n = ' style="' + a.Kt() + '" ');
            return r.h("<div {idString} {styleString}>", {idString: t, styleString: n})
        }, Yt: function (t) {
            return t && document.querySelector ? document.querySelector(t) : null
        }, $t: function (t, n) {
            var i = "";
            switch (t = parseInt(t, 10)) {
                case 0:
                    n = (i = n) && i.parentNode;
                    break;
                case 1:
                    i = this.Qt(n);
                    break;
                case 2:
                    i = this.Zt(n)
            }
            return {targetInsertPoint: i, container: n}
        }, Qt: function (t) {
            var n = t && t.children;
            if (n && 1 < n.length && t.scrollHeight > window.screen.height) {
                var i = n.length;
                return n[Math.ceil(i / 2)]
            }
        }, Zt: function (t) {
            var n = t && t.children;
            if (n && 0 < n.length) return n[n.length - 1]
        }
    }
}, function (t, n, i) {
    var s = i(1), u = i(10), _ = i(2), c = i(19), f = i(0), w = i(7), e = i(6), r = i(14), o = i(5), d = i(25),
        a = i(15), l = i(4), h = i(13);
    l.__slotMap = l.__slotMap || {};
    var v = l.__slotMap, p = l.counter || {};
    p.slotTotalCount = p.slotTotalCount || 1, p.slotCountIndex = p.slotCountIndex || {}, t.exports = {
        nn: function (t) {
            return v[t]
        }, "in": function (t) {
            for (var n in v) if (v.hasOwnProperty(n) && -1 < n.indexOf(t)) return v[n];
            return {}
        }, en: function (t) {
            var n = ("" + t.slotId).replace(/\s+/g, "");
            p.slotCountIndex[n] = p.slotCountIndex[n] || 0;
            var i = {};
            return i.index = p.slotCountIndex[n], i.count = 0 === n.indexOf("u") ? p.slotTotalCount : 0, i.id = n + "_" + i.index, i.containerId = s.P + "_wrapper_" + n + "_" + i.index, i.slotId = n, i.productLine = t.productLine, i.errors = [], p.slotCountIndex[n] = p.slotCountIndex[n] + 1, n !== s.$ && (p.slotTotalCount = p.slotTotalCount + 1), i.isAsync = t.isAsync, t.coa && f.k(t.coa) ? i.styleOpenApi = t.coa : window.cproStyleApi ? i.styleOpenApi = window.cproStyleApi[n] || {} : i.styleOpenApi = {}, i.isUnion = 0 === n.indexOf("u"), i.width = 0, i.height = 0, i.domainInfo = l.domainInfo || {}, i.domainInfo.mixOffset = a.rn(i.domainInfo.pos || i.domainInfo.dup), i
        }, processSlot: function (t) {
            var n = t.response.rtb_deliv = t.response.rtb_deliv || {},
                i = t.response.order_deliv = t.response.order_deliv || {},
                e = t.response.pdb_deliv = t.response.pdb_deliv || {}, r = n.deliv_id = parseInt(n.deliv_id, 10),
                o = n.demand_id = parseInt(n.demand_id, 10), a = i.deliv_id = parseInt(i.deliv_id, 10),
                u = i.demand_id = parseInt(i.demand_id, 10), c = e.deliv_id = parseInt(e.deliv_id, 10);
            e.demand_id = parseInt(e.demand_id, 10);
            var s = t.response.placement = t.response.placement || {};
            t.containerInfo = s.container || {}, t.complementType = s.complement_type, t.isPdbAd = 0 === r && 0 === o && 0 === a && 0 === u, t.isNeedCacheRequest = !isNaN(r) && 0 !== r && 7 === t.complementType || !isNaN(a) && 0 !== a || !isNaN(r) && 0 !== r && 0 !== c
        }, on: function (t) {
            v[t.id] = t
        }, an: function (t) {
            var n;
            try {
                window.JSON && window.JSON.parse && (n = JSON.parse(JSON.stringify(t)))
            } catch (i) {
            }
            return (n = n || f.D(t)).index = p.slotCountIndex[n.slotId]++, n.id = n.slotId + "_" + n.index, n
        }, un: function (t, n) {
            t.status = t.status ^ n
        }, cn: function (t, n) {
            return 0 < (t.status & n)
        }, sn: function (t, n) {
            var i = this.nn(t);
            i && (i.status |= n)
        }, fn: function () {
            var t = v;
            for (var n in t) if (n && t[n] && t.hasOwnProperty(n)) {
                var i = t[n];
                if (i.status >= s.J) continue;
                this.dn(i), this.ln(i), this.hn(i)
            }
        }, hn: function (t) {
            t.isAnti && (l.prScript = _.jt(l.prScript, f.O(this, this.vn, t), f.O(this, this.vn, t), {src: "//cpro.baidustatic.com/cpro/ui/pr.js"}))
        }, vn: function (t, n) {
            "object" != typeof window.__baidu_dup_jobruner && 1 !== n.proxy && (n.proxy = 1, this.ln(n), "block" !== window.__baidu_dup_jobruner && (window.__baidu_dup_jobruner = "block", r.pn(s.gt, n.proxy + "|" + (new Date).getTime())))
        }, ln: function (t) {
            !l._n && window.postMessage && (l._n = !0, _.Ut(window, "message", f.O(this, this.wn)));
            var n, i = t.isUnion || t.isAsync;
            t.proxy = t.proxy || this.mn(t), t.paramObj = t.paramObj || u.gn(t), t.paramObj.dtm = s.z;
            var e = t.domainInfo.mixOffset, r = u.yn(t.paramObj, t.proxy, e), o = s.F + r;
            if (1 === t.proxy && t.domainInfo.mixOffset) {
                var a = t.domainInfo.pos || t.domainInfo.dup;
                o = s.U + "//" + a + "/" + c.Xt(5, 10) + "?" + r
            }
            t.paramObj.dtm = s.H, (n = this.bn(t)) ? window[s.B](n) : this.xn(o, i), d.In(t), this.sn(t.id, s.J)
        }, wn: function (t) {
            var n = t.data;
            if ("string" == typeof n && window.JSON && window.JSON.parse) try {
                n = JSON.parse(n)
            } catch (a) {
            }
            if (n && n.tuid) if (n.placement && n.placement.update && n.queryid) {
                this.An(n);
                var i = n.tuid, e = n.placement.complement_type, r = n.noadx && parseInt(n.noadx, 10), o = n.queryid;
                -1 < i.indexOf("u") && r && this.kn(i, e, {noadx: r, queryid: o})
            } else 1 === n.type && this.Sn(t, n)
        }, Sn: function (t, n) {
            var i = t.origin || t.originalEvent.origin, e = i && i.split("//")[1], r = n.tuid, o = n.msg,
                a = this["in"](r), u = a && a.response,
                c = u && u.placement && u.placement.basic && u.placement.basic.publisherDomain && u.placement.basic.publisherDomain.pos;
            !a || e !== s.j && e !== c || "click" !== o || (this.Cn(a), h.Tn(s.mt.CLOSEAD, r))
        }, An: function (t) {
            var n, i = t.placement.update, e = r.Gt(t.tuid);
            e && (n = f.w(e), r.Dn() && window.JSON && window.JSON.stringify && n && n.placement && n.placement.update && n.placement.update !== i && (t.adExpire = (new Date).getTime(), r.pn(t.tuid, JSON.stringify(t))))
        }, bn: function (t) {
            try {
                if (e.ie && e.ie < 9 || !r.Dn() || t.isAutoAd) return !1;
                var n = r.Gt(t.id);
                return !!n && f.w(n)
            } catch (i) {
                o.Ht("elog", i, {pos: "localAdInfo", id: t.id})
            }
        }, En: function (t) {
            try {
                var n = t.response, i = t.id;
                i && !t.isPdbAd && t.isUnion && !t.isAutoAd && window.JSON && window.JSON.stringify && r.Dn() && !r.Gt(i) && (n.adExpire = (new Date).getTime(), r.pn(i, JSON.stringify(n)))
            } catch (e) {
            }
        }, dn: function (t) {
            _.kt(t) || (t.isAsync ? "union" === t.productLine && (t.containerId = "cpro_" + t.slotId) : (document.write('<div id="' + t.containerId + '"></div>'), _.g(t.containerId) || this.On(t))), this.sn(t.id, s.q)
        }, On: function (t) {
            try {
                var n = document.getElementsByTagName("script"), i = n[n.length - 1];
                if (i) {
                    var e = i.parentNode;
                    if (e) {
                        var r = document.createElement("div");
                        return r.id = t.containerId, e.insertBefore(r, i), !0
                    }
                }
            } catch (o) {
            }
            return !1
        }, xn: function (t, n) {
            if (n) {
                var i = document.createElement("script");
                if (!i) return;
                i.type = "text/javascript", i.async = !0, i.src = t;
                var e = document.getElementsByTagName("script")[0];
                e && e.parentNode ? e.parentNode.insertBefore(i, e) : document.write('<script charset="utf-8" src="' + t + '"><\/script>')
            } else document.write('<script charset="utf-8" src="' + t + '"><\/script>')
        }, Pn: function (t) {
            var n = t.response, i = n.pdb_deliv, e = n.rtb_deliv, r = n.order_deliv;
            return !(!t.isUnion && 7 === t.complementType && 0 === i.deliv_id && 0 === e.deliv_id && 0 === r.deliv_id)
        }, kn: function (t, n, i) {
            var e = this["in"](t);
            h.Tn(s.mt.NOAD, t, i), e && 7 === n && this.Cn(e)
        }, Cn: function (t) {
            var n = _.kt(t);
            n && (n.parentNode.removeChild(n), i(16).unregisetViewWatch(t, n))
        }, processSlotInfo: function (t) {
            var n = this.Mn(t), i = t.response.placement.basic;
            return n.cname = i.cname, n
        }, Mn: function (t) {
            var n = t.response.placement, i = t.response["extends"] || {}, e = _.kt(t) || {}, r = n.container,
                o = t.styleOpenApi, a = r.width, u = r.height, c = o.cpro_w || o.rsi0 || 0, s = o.cpro_h || o.rsi1 || 0,
                f = r.sizeType;
            if (5 !== f && !t.isUnion && i && i.hasOwnProperty("sspw") && i.hasOwnProperty("ssph")) {
                var d = parseInt(i.sspw || 0, 10), l = parseInt(i.ssph || 0, 10), h = parseInt(i.cbsz || 0, 10);
                f = 0 < h ? h : f, a = 0 < d ? d : a, u = 0 < l ? l : u
            }
            if (o.scale) {
                f = 2;
                var v = o.scale.split(".") || [];
                a = v[0], u = v[1]
            }
            (c || s) && (f = 1, a = c || w.Un(), u = s || u), ("-1" === t.pcwd || t.ftpc || t.styleOpenApi.cpro_ftpc) && (f = "-1" === t.pcwd && "-1" === t.pchd ? 8 : 5), o.sizeType && (f = o.sizeType && parseInt(o.sizeType, 10) || f, a = o.width && parseInt(o.width, 10) || a, u = o.height && parseInt(o.height, 10) || u), 2 !== o.apType && 3 !== o.apType || (r.location = o.apType);
            var p = 0;
            switch (f) {
                case 1:
                    break;
                case 2:
                    a = t.pcwd || a, u = t.pchd || u, a && u && (p = u / a), a = w.Un(), u = Math.ceil(a * p);
                    break;
                case 3:
                    a = w.Un();
                    break;
                case 5:
                    a && u && (p = u / a), a = w.Rn(e.parentElement), u = Math.ceil(a * p);
                    break;
                case 6:
                    a = w.Rn(e.parentElement);
                    break;
                case 7:
                    u = w.Bn(e.parentElement);
                    break;
                case 8:
                    a = w.Rn(e.parentElement), u = w.Bn(e.parentElement)
            }
            return {width: t.width = a, height: t.height = u, sizeType: f}
        }, mn: function (t) {
            var n = 0;
            if (t.isAnti) if (window[s.lt]) n = "block" === window[s.lt] ? 1 : 0; else {
                var i = r.Nn("isblock").value;
                0 !== i && 1 !== i || (n = i, window[s.lt] = i ? "block" : "unblock")
            }
            return n
        }
    }
}, function (t, n) {
    var i = "___delivery___global___counter___";
    if (window._SF_ && window._SF_._global_ && window._SF_._global_._ssp && !window.___baidu_union) {
        var e = window._SF_._global_._ssp;
        e.DUP_4_SF = !0, e.destroy = function () {
            try {
                window.top[i] = {}
            } catch (t) {
                window[i] = {}
            }
        }, window.___baidu_union = e
    }
    var r = window.___baidu_union = window.___baidu_union || {};
    try {
        r.counter = window.top[i] = window.top[i] || {}
    } catch (a) {
        r.counter = window[i] = window[i] || {}
    }
    var o = "";
    r.domainInfo, r.domainInfo = {dup: o, pos: ""}, t.exports = r
}, function (t, n, i) {
    var o = i(0), a = i(13), u = i(14), e = i(15), c = "BAIDU_DUP_log_storage", r = "search/logo.gif";
    t.exports = {
        Ln: function (t, n) {
            var i = new Image, e = "BAIDU_DUP_log_" + Math.floor(2147483648 * Math.random()).toString(36);
            (window[e] = i).onload = i.onerror = i.onabort = function () {
                i.onload = i.onerror = i.onabort = null, window[e] = null, i = null, n && n(c, t, !0)
            }, i.src = t
        }, Fn: function (t) {
            var n = new Image, i = "baidu_dan_log_" + +new Date;
            (window[i] = n).onload = n.onerror = n.onabort = function () {
                try {
                    delete window[i]
                } catch (t) {
                    window[i] = undefined
                }
                n = null
            }, t += -1 < t.indexOf("?") ? "&" : "?", t += "stamp=" + Math.random(), n.src = t
        }, jn: function (t) {
            var n = (t = o.k(t) ? t : {}).url || "//eclick.baidu.com/se.jpg", i = t.data || {}, e = t.option || "now",
                r = o.u(i);
            switch (n += (0 <= n.indexOf("?") ? "&" : "?") + r + (r ? "&" : "") + "ver=1124&rdm=" + +new Date, e) {
                case"now":
                    this.Ln(n);
                    break;
                case"block":
                    break;
                case"unload":
                default:
                    u.Hn(c, n, !0), a.Ut(window, "unload", o.O(this, function () {
                        this.Ln(n, o.O(u, u.zn))
                    }))
            }
        }, Wn: function (t, n, i) {
            if (!t || !n) return "";
            var e = "//eclick.baidu.com/" + t + "?type=" + n;
            if (i) for (var r in i) i.hasOwnProperty(r) && (e += "&" + r + "=" + i[r]);
            this.jn({url: e, option: "now"})
        }, Vn: function (t, n) {
            this.Wn("se.jpg", t, n)
        }, Ht: function (t, n, i) {
            i = i || {};
            var e = n && n.stack ? n.stack : n;
            i.stack = encodeURIComponent(e), this.Wn("rs.jpg", t, i)
        }, Jn: function (t) {
            if (!t) return "";
            var n = t.viewContext, i = [];
            return i.push("tu=" + t.slotId), i.push("op=" + n.opacity), i.push("s=" + t.uuid), i.push("psi=" + t.psi), i.push("word=" + t.word), i.push("ft=" + t.flowType), i.push("if=" + t.iframeStatus), i.push("aw=" + t.aw), i.push("ah=" + t.ah), i.push("csp=" + t.desktopResolution), i.push("bcl=" + t.browserRegion), i.push("pof=" + t.pageRegion), i.push("top=" + t.top), i.push("left=" + t.left), i.push("uid=" + t.uid), i.push("iw=" + n.currAdViewStatus), i.push("ob=" + t.ob), i.push("type=show"), t.posDomain ? "//" + t.posDomain + "/" + r + "?" + e.Gn(21, i) : "//pos.baidu.com/" + r + "?" + i.join("&")
        }
    }
}, function (t, n, i) {
    var u = i(0), c = window, s = window.navigator;
    var e = {
        Xn: function () {
            var t = navigator.userAgent, n = window.RegExp;
            this.antBrowser = !1, /msie (\d+\.\d)/i.test(t) && (this.ie = document.documentMode || +n.$1), /opera\/(\d+\.\d)/i.test(t) && (this.opera = +n.$1), /firefox\/(\d+\.\d)/i.test(t) && (this.firefox = +n.$1), /(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(t) && !/chrome/i.test(t) && (this.safari = +(n.$1 || n.$2)), /chrome\/(\d+\.\d)/i.test(t) && (this.chrome = +n.$1, function o() {
                try {
                    return "scoped" in document.createElement("style")
                } catch (t) {
                    return !1
                }
            }() && (this.qihoo = !0)), /qqbrowser\/(\d+\.\d)/i.test(t) && (this.tencent = !0), (/ucbrowser\/(\d+\.\d)/i.test(t) || /ubrowser\/(\d+\.\d)/i.test(t)) && (this.uc = !0), /miuibrowser\/(\d+\.\d)/i.test(t) && (this.xiaomi = !0), /mzbrowser\/(\d+)/i.test(t) && (this.meizu = !0), /vivobrowser\/(\d+\.\d)/i.test(t) && (this.vivo = !0), /oppobrowser\/(\d+\.\d)/i.test(t) && (this.oppo = !0), /baiduboxapp\/([\d.]+)/.test(t) && (this.baiduboxapp = !0), /quark\/\d.+/.test(t) && (this.quark = !0), /qqbrowser|ucbrowser|ubrowser|miuibrowser|vivobrowser|oppobrowser/i.test(t) && (this.isAdBlock = !0);
            try {
                /(\d+\.\d)/.test(u.a(window, "external.max_version")) && (this.maxthon = +n.$1)
            } catch (a) {
            }
            (this.tencent || this.uc || this.xiaomi || this.vivo || this.oppo) && (this.antBrowser = !0), this.isWebkit = /webkit/i.test(t), this.isGecko = /gecko/i.test(t) && !/like gecko/i.test(t);
            for (var i = ["Android", "iPad", "iPod", "iPhone", "iOS", "Linux", "Macintosh", "Windows"], e = "", r = 0; r < i.length; r++) if (e = i[r], t.match(new RegExp(e, "i"))) {
                "iPad" === e || "iPhone" === e || "iOS" === e || "iPod" === e ? this.isIOS = !0 : "Android" === e && (this.isAndroid = !0);
                break
            }
            this.platform = e
        }, Kn: function () {
            var t = 0;
            try {
                var n = "https:" === document.location.protocol;
                if (45 <= this.chrome || n) return 0;
                if (s.plugins && s.mimeTypes.length) {
                    var i = s.plugins["Shockwave Flash"];
                    i && i.description && (t = i.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s)+r/, ".") + ".0")
                }
                if (0 === t && (c.ActiveXObject || c.hasOwnProperty("ActiveXObject"))) for (var e = 30; 2 <= e; e--) try {
                    var r = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + e);
                    if (r) {
                        var o = r.GetVariable("$version");
                        if (0 < (t = o.replace(/WIN/g, "").replace(/,/g, "."))) break
                    }
                } catch (a) {
                }
                t = parseInt(t, 10), this.Kn = function () {
                    return t
                }
            } catch (u) {
                t = 0
            }
            return t
        }
    };
    e.Xn(), t.exports = e
}, function (t, n, i) {
    var f = i(2), r = i(0), o = i(6);
    t.exports = {
        Yn: function (t) {
            t = t || window;
            try {
                var n = f.Nt(t).clientWidth;
                if (n || 0 === n) return n
            } catch (i) {
            }
            return -1
        }, $n: function (t) {
            t = t || window;
            try {
                var n = f.Nt(t).clientHeight;
                if (n || 0 === n) return n
            } catch (i) {
            }
            return -1
        }, Qn: function (t) {
            var n = {top: 0, left: 0};
            if (t === f.Nt(t)) return n;
            var i = f.Ct(t), e = i.body, r = i.documentElement;
            if (e && t.getBoundingClientRect) {
                var o = t.getBoundingClientRect();
                n.left = Math.floor(o.left) + Math.max(r.scrollLeft, e.scrollLeft), n.top = Math.floor(o.top) + Math.max(r.scrollTop, e.scrollTop), n.left -= r.clientLeft, n.top -= r.clientTop;
                var a = this.Zn(e, "borderLeftWidth"), u = this.Zn(e, "borderTopWidth"), c = parseInt(a, 10),
                    s = parseInt(u, 10);
                n.left -= isNaN(c) ? 2 : c, n.top -= isNaN(s) ? 2 : s
            }
            return n
        }, Zn: function (t, n) {
            if (!t) return "";
            var i = "";
            i = -1 < n.indexOf("-") ? n.replace(/[-][^-]{1}/g, function (t) {
                return t.charAt(1).toUpperCase()
            }) : n.replace(/[A-Z]{1}/g, function (t) {
                return "-" + t.charAt(0).toLowerCase()
            });
            var e, r = f.Tt(t);
            if (t.style[n] || t.style[i]) return t.style[n] || t.style[i];
            if (r && r.getComputedStyle && r.CSSStyleDeclaration && r.CSSStyleDeclaration.prototype.getPropertyValue) {
                if (e = r.getComputedStyle(t, null)) return e.getPropertyValue(n) || e.getPropertyValue(i)
            } else if (t.currentStyle) return (e = t.currentStyle)[n] || e[i];
            return ""
        }, ti: function (t) {
            if (!t) return {top: 0, left: 0};
            var n = this.Qn(t), i = f.Tt(t);
            if (!i) return n;
            try {
                for (var e = 0; i !== i.parent && e++ < 10 && !f.Pt(i) && i.frameElement;) {
                    var r = this.Qn(i.frameElement);
                    n.left += r.left, n.top += r.top, i = i.parent
                }
            } catch (o) {
            }
            return n
        }, ni: function (t) {
            var n = 100;
            try {
                for (; t && t.tagName;) {
                    var i = 100;
                    if (o.ie) {
                        if (o.ie <= 5) break;
                        n = (i = parseInt(r.a(t, "filters.alpha.opacity"), 10) || 100) < n ? i : n
                    } else n *= i = 1 * this.Zn(t, "opacity");
                    t = t.parentNode
                }
            } catch (e) {
            }
            return 0 === n ? 0 : n || 100
        }, ii: function (t) {
            var n = f.Tt(t), i = this.ni(t);
            try {
                for (var e = 0; e++ < 10 && f.Et(n) && !f.Pt(n);) {
                    i *= (n.frameElement ? this.ni(n.frameElement) : 100) / 100, n = n.parent
                }
            } catch (r) {
            }
            return i
        }, ei: function (t) {
            t = t || window;
            try {
                var n = f.Nt(t).scrollWidth;
                if (n || 0 === n) return n
            } catch (i) {
            }
            return -1
        }, ri: function (t) {
            t = t || window;
            try {
                var n = f.Nt(t).scrollHeight;
                if (n || 0 === n) return n
            } catch (i) {
            }
            return -1
        }, oi: function (t) {
            var n = (t = t || window).document;
            return t.pageYOffset || n.documentElement.scrollTop || n.body.scrollTop
        }, ai: function (t) {
            var n = t || window, i = f.Nt(n);
            return n.pageXOffset || i.scrollLeft
        }, ui: function (t, n) {
            var i = t.offsetWidth;
            return n && (i += this.ci(t, "Left") + this.ci(t, "Right")), i
        }, ci: function (t, n) {
            var i = this.Zn(t, "margin" + n).toString().toLowerCase().replace("px", "").replace("auto", "0");
            return parseInt(i, 10) || 0
        }, si: function (t, n) {
            var i = t.offsetHeight;
            return n && (i += this.ci(t, "Top") + this.ci(t, "Bottom")), i
        }, fi: function (t, n) {
            var i = n.styleOpenApi && n.styleOpenApi.aati,
                e = ["<div ", 'style="position: absolute; right: 0px; top: 0px; z-index: 9999999;', 'font-size: 14px;background:#3155c5;font-weight: 200; padding: 8px 20px; color: #fff">', "广告", i && "0" !== i ? i : "", "</div>"].join(""),
                r = document.createElement("div");
            r.innerHTML = e;
            var o = t.style;
            o.border = "2px dashed #3155c5", o.position = o.position || "relative", o.overflow = "hidden", t.appendChild(r)
        }, li: function (t) {
            for (; t && t.tagName;) {
                if ("hidden" === this.Zn(t, "visibility")) return !1;
                t = t.parentNode
            }
            return !0
        }, hi: function (t) {
            var n = f.Tt(t), i = this.li(t);
            if (!i) return !1;
            try {
                for (var e = 0; e++ < 10 && f.Et(n) && !f.Pt(n) && n.frameElement;) {
                    if (!(i = this.li(n.frameElement))) return !1;
                    n = n.parent
                }
            } catch (r) {
            }
            return !0
        }, Un: function () {
            var t = Math.max(320, window.innerWidth);
            return t = isNaN(t) ? this.Yn() : t
        }, Rn: function (t) {
            if (!t) return window.screen.width;
            var n = parseInt(this.Zn(t, "paddingLeft"), 10) || 0, i = parseInt(this.Zn(t, "paddingRight"), 10) || 0,
                e = t.clientWidth - n - i;
            return e = 0 < e ? e : window.screen.width
        }, Bn: function (t) {
            if (!t) return 0;
            var n = parseInt(this.Zn(t, "paddingTop"), 10) || 0, i = parseInt(this.Zn(t, "paddingBottom"), 10) || 0,
                e = t.clientHeight - n - i;
            return e = 0 < e ? e : 0
        }, vi: function () {
            var t = !0;
            return o.ie && (o.ie < 7 || "BackCompat" === document.compatMode) && (t = !1), t
        }
    }
}, function (t, n, i) {
    var c = i(0), e = i(2), r = i(4);
    r.__pageInfo = r.__pageInfo || {};
    var s = r.__pageInfo, o = e.Bt(), f = o.BAIDU_SSP__info || (o.BAIDU_SSP__info = {});
    t.exports = {
        pi: function (t, n, i) {
            var e, r = i ? f : s;
            if (c.C(t)) {
                for (var o = t.split("."), a = r; o.length;) {
                    var u = o.shift();
                    0 < o.length ? a[u] || (a[u] = {}) : a[u] = n, a = a[u]
                }
                e = n
            }
            return e
        }, _i: function (t, n) {
            var i = n ? f : s;
            if (c.C(t)) for (var e = t.split("."); e.length;) {
                var r = e.shift();
                if (!e.length || i[r] === undefined) return delete i[r], !0;
                i = i[r]
            }
            return !1
        }, wi: function (t, n) {
            var i, e = n ? f : s;
            return c.C(t) && (i = c.a(e, t)), i
        }, mi: function (t) {
            var n = window, i = n[t];
            return n[t] = undefined, i
        }, gi: function (t, n, i) {
            var e = i || window;
            return e[t] ? e[t] : e[t] = n
        }, yi: function (t) {
            return !!t && (s = this.wi("pageConfig") || {})[t]
        }, bi: function (t, n) {
            return !(!t || !n) && ((s = this.wi("pageConfig") || {})[t] = n, this.pi("pageConfig", s), !0)
        }
    }
}, function (t, n, i) {
    var d = i(1), l = i(3), c = i(35), e = i(8), r = i(5), h = i(2), o = i(0);
    t.exports = {
        xi: function (t, n) {
            return t.nodeName && t.nodeName.toUpperCase() === n.toUpperCase()
        }, Ii: function (t, n) {
            try {
                var i = document.createElement("script");
                i.type = "text/javascript", t.src ? i.src = t.src : i.text = t.text || t.textContent || t.innerHTML || "", n.insertBefore(i, n.firstChild)
            } catch (e) {
                r.Ht(d.ut, e, {pos: "createscripterror", status: "renderFail"})
            }
        }, Ai: function (t, n) {
            if (!t) return !1;
            t.innerHTML = '<span style="display: none">ie</span>' + n;
            for (var i = t.childNodes, e = [], r = 0; i[r]; r++) !this.xi(i[r], "script") || i[r].type && "text/javascript" !== i[r].type.toLowerCase() || e.push(i[r]);
            e.reverse();
            for (var o = 0, a = e.length; o < a; o++) this.Ii(e[o].parentNode.removeChild(e[o]), t);
            return !0
        }, ki: function (t, n) {
            var i = l.nn(t);
            if (i && !l.cn(i, d.K)) {
                var e = i.response.pdb_deliv.deliv_des;
                e = e._html;
                var r = this.Si();
                if (this.Ci() && n.getAttribute("src", 2) !== r) n.src = r; else {
                    if (e && "url" === e.type) return n.src = e.content, void l.sn(i.id, d.K);
                    try {
                        l.sn(i.id, d.K);
                        var o = c.Ti(e, i);
                        o.indexOf("<body>") < 0 && (o = "<!DOCTYPE html><body>" + o);
                        var a = n.contentWindow.document;
                        a.open("text/html", "replace"), a.write(o), a.body && (a.body.style.backgroundColor = "transparent")
                    } catch (u) {
                    }
                }
            }
        }, Ci: function () {
            var t = document.createElement("iframe"), n = !1;
            if (!document.body) return n;
            return t.src = "about:blank", document.body.insertBefore(t, document.body.firstChild), n = function i(t) {
                try {
                    return !t.contentWindow.document
                } catch (n) {
                    return !0
                }
            }(t), document.body.removeChild(t), this.Ci = function () {
                return n
            }, n
        }, Di: function () {
            var t = navigator.userAgent, n = t && t.match(/iphone.*micromessenger/i);
            return this.Di = function () {
                return n
            }, n
        }, Si: function () {
            return this.Ci() ? e.yi("domainPolicyFileUrl") || "/domain-policy.htm" : this.Di() ? e.yi("blankPolicyFileUrl") || "/blank-policy.htm" : "about:blank"
        }, renderRichMaterial: function (t) {
            var n = t.response, i = n && n.pdb_deliv && n.pdb_deliv.deliv_des, e = i && i._html,
                r = t.isNeedCacheRequest;
            if (!e || "rich" !== e.type || r) return !1;
            var o = h.kt(t), a = e.content, u = t.isAsync, c = t.productLine, s = !1;
            if (u) if (u && o && ("clb" === c || "dup" === c)) {
                var f = this.Ei(t);
                o.innerHTML = f, s = !0
            } else s = this.Ai(o, a); else document.write(a), l.sn(t.id, d.K), s = !0;
            return s
        }, Ei: function (t) {
            var n = this.Oi(t);
            return this.Pi(n)
        }, Oi: function (t) {
            var n = t.containerInfo, i = t.width || n.width, e = t.height || n.height, r = this.Si();
            return {
                iframeId: "iframe" + t.id,
                srcAttriName: "src",
                onloadDefine: 'onload="' + d.M + "(3, '" + t.id + "', this);\"",
                iframeWidth: "" + i,
                iframeHeight: "" + e,
                url: r
            }
        }, Pi: function (t) {
            var n = ["<iframe", ' id="{iframeId}"', ' name="{iframeId}"', " {onloadDefine}", ' {srcAttriName}="{url}"', ' width="{iframeWidth}"', ' height="{iframeHeight}"', ' align="center,center"', ' vspace="0"', ' hspace="0"', ' marginwidth="0"', ' marginheight="0"', ' scrolling="no"', ' frameborder="0"', ' style="border:0;vertical-align:bottom;margin:0;width:{iframeWidth}px;height:{iframeHeight}px"', ' allowtransparency="true">', "</iframe>"].join("");
            return o.h(n, t)
        }
    }
}, function (t, n, i) {
    var c = i(1), e = i(28), r = i(29), o = i(30), a = i(32), u = i(21), d = i(15), l = i(6), h = i(19), s = i(2),
        f = i(0), v = i(5), p = i(33), _ = i(23),
        w = {slotParam: e, businessParam: r, browserParam: o, systemParam: a, additionalParam: u};
    t.exports = {
        Mi: function (t) {
            for (var n = [], i = t.paramsList, e = 0, r = i.length; e < r; e++) {
                var o = i[e], a = o.key, u = o.encode, c = o.value, s = o.limit;
                try {
                    c = "function" == typeof c ? c.apply(t) : c, c = s ? c.substr(0, s) : c, c = u ? encodeURIComponent(c) : c, n.push({
                        key: a,
                        value: c
                    })
                } catch (f) {
                    v.Ht("adcodex_error", f, {key: encodeURIComponent(a)})
                }
            }
            return n
        }, Ui: function (t) {
            var n = [];
            return e.setSlotInfo(t), u.setSlotInfo(t), o.setSlotInfo(t), r.setSlotInfo(t), r.Ri(s.Bt()), n = (n = (n = (n = (n = n.concat(this.Mi(e))).concat(this.Mi(r))).concat(this.Mi(o))).concat(this.Mi(u))).concat(this.Mi(a))
        }, gn: function (t) {
            for (var n = this.Ui(t), i = {}, e = 0, r = n.length; e < r; e++) {
                var o = n[e];
                i[o.key] = o.value
            }
            return i
        }, Bi: function (t) {
            var n = [], i = {};
            p.setSlotInfo(t), p.Ri(s.Bt());
            for (var e = 0, r = (n = (n = n.concat(this.Mi(p))).concat(this.Mi(u))).length; e < r; e++) {
                var o = n[e];
                i[o.key] = o.value
            }
            return i
        }, yn: function (t, n, i, e) {
            var r = [];
            for (var o in t) if (o && (t[o] || 0 === t[o]) && t.hasOwnProperty(o) && (!e || !e[o])) {
                var a = t[o];
                r.push(o + "=" + a)
            }
            if (n && (r = h.Ni(r)), window && window.location && window.location.ancestorOrigins && window.location.ancestorOrigins.length) {
                var u = window.location.ancestorOrigins;
                r.push("lto=" + encodeURIComponent(u[u.length - 1])), r.push("ltl=" + u.length)
            }
            return 1 === n && i && !l.ie ? d.Gn(i, r, l.isAndroid) : r.join("&")
        }, getPmpRequestUrl: function (t) {
            var n = t.paramObj, i = t.response;
            n.qn = i.queryid;
            var e = ["conwid=" + t.width, "conhei=" + t.height], r = i.pdb_deliv, o = i.order_deliv, a = i.rtb_deliv;
            i.media_protect && "0" !== i.media_protect && e.push("mpdi=" + i.media_protect), r.deliv_id && e.push("pdbid=" + r.deliv_id), o.deliv_id && e.push("orderid=" + o.deliv_id), o.demand_id && e.push("odid=" + o.demand_id), a.deliv_id && e.push("rtbid=" + a.deliv_id), a.demand_id && e.push("rdid=" + a.demand_id), t.isNeedCacheRequest && (n.dpv = n.qn), t.isUnion ? e.push("dc=3") : e.push("dc=2");
            var u = {};
            return e.push("di=" + n.di), u.di = !0, this.Li(n, e, u, t), this.Fi(n, e), this.ji(t, c.U, c.Hi, n, e, u)
        }, zi: function (t) {
            var n = t.paramObj, i = c.R && h.Wt(50) ? "" : c.U, e = c.L + "s?", r = {},
                o = ["wid=" + t.width, "hei=" + t.height];
            if (o.push("di=" + n.di), r.di = !0, this.Li(n, o, r, t), n.ltu && (o.push("ltu=" + n.ltu), r.ltu = !0), this.Fi(n, o), t.isUnion ? o.push("dc=3") : o.push("dc=2"), this.Wi(t), 1 === t.proxy) for (var a = ["ti", "utdi", "drs", "cfv", "cpl", "chi", "cce", "tlm", "psr", "ccd", "cja", "cmi", "col", "cdo", "tcn", "ltr"], u = 0; u < a.length; u++) r[a[u]] = !0;
            return this.ji(t, i, e, n, o, r)
        }, ji: function (t, n, i, e, r, o) {
            var a = n + i + r.join("&") + "&", u = t.response.placement.basic.publisherDomain, c = "", s = !1;
            1 === t.proxy && u && u.pos && (a = n + "//" + u.pos + "/", l.ie ? a = a + "s?" + r.join("&") + "&" : (c = d.rn(u.pos), a = a + h.Xt(5, 10) + "?" + d.Gn(c, r, l.isAndroid) + "&", s = !0));
            var f = a + this.yn(e, t.proxy, c, o);
            return s && (f += "&swt=1"), f
        }, Vi: function (t, n) {
            var i = w[t] && w[t].paramsList;
            if (i) for (var e = 0; e < i.length; e++) if (i[e].key === n) return f.O(w[t], i[e].value)()
        }, qi: function (t) {
            if (t.response.placement.basic && 2 === t.response.placement.basic.flowType) {
                var n = t.paramObj, i = n.dis, e = Number(n.ps.split("x")[0]), r = Number(n.pcs.split("x")[1]);
                return 0 === i && e < r
            }
        }, Wi: function (t) {
            t.isDsFlow && l.isIOS && l.baiduboxapp && this.qi(t) && (t.proxy = 1)
        }, Li: function (t, n, i, e) {
            if (t.uuid) {
                var r = t.uuid;
                e.uuid = r, n.push("s1=" + parseInt(r.substr(0, 8), 16)), n.push("s2=" + parseInt(r.substr(8, 8), 16)), i.uuid = !0
            }
        }, Fi: function (t, n) {
            var i = "" + (new Date).getTime();
            i = i.substr(0, i.length - 3);
            var e = t.uuid + i, r = _(e).substr(8, 16);
            n.push("tr=" + i, "mt=" + r)
        }
    }
}, function (t, n, i) {
    var e, r, o, a = i(4), u = i(0), c = {};
    if (!a.__onlyExps) for (var s in a.__onlyExps = {}, c) c.hasOwnProperty(s) && c[s] && (o = c[s]).onlyExp && (e = o.expId, r = o.baseId, e && (a.__onlyExps[e] = !0), r && (a.__onlyExps[r] = !0));
    t.exports = {
        Ji: function (t, n) {
            return t && n ? t += "," + n : t = t || n, t
        }, Gi: function (t) {
            for (var n = "", i = 0; i < t.length; i++) t[i] && "0" !== t[i] && (n = n + "," + t[i]);
            return n.slice("1")
        }, Xi: function (t) {
            var n = "", i = 1e4 * Math.random(), e = 100 * t.percent, r = 200 * t.percent;
            return i < e ? n = t.expId : e <= i && i < r && (n = t.baseId), n
        }, Ki: function (t) {
            return parseInt(Math.random() * t, 10)
        }, Yi: function (t, n) {
            var i = this.Xi(t), e = "";
            return (i = i && this.$i(n) ? "" : i) && (i === t.expId ? e = "exp" : i === t.baseId && (e = "base")), {
                expType: e,
                expId: i
            }
        }, $i: function (t) {
            if (u.f(a.__onlyExps)) return !1;
            var n = this.Qi(t), i = n && n.split(",");
            if (0 < i.length) for (var e = 0; e < i.length; e++) if (a.__onlyExps[i[e]]) return !0;
            return !1
        }, Qi: function (t) {
            return t && t.exps ? t.paramObj && t.paramObj.exps ? t.paramObj.exps : t.exps : ""
        }
    }
}, function (t, n, i) {
    var c = i(1), s = i(26), f = i(10), d = i(0), l = i(8), e = i(9);
    t.exports = {
        getFrameHTML: function (t) {
            if (t.isPdbAd) return e.Ei(t);
            var n = this.Oi(t);
            return this.Pi(n)
        }, Oi: function (t) {
            var n = t.containerInfo, i = t.width || n.width, e = t.height || n.height,
                r = t.isDsFlow || t.isAnti ? f.zi(t) : f.getPmpRequestUrl(t), o = "";
            if (t.isNeedCacheRequest) {
                var a = t.response.queryid;
                s.Zi(a, t), l.gi("adsbybaidu_callback", d.O(s, s.te)), o = 'onload="' + c.M + "(1, '" + a + "', this);\""
            } else if (t.styleOpenApi && t.styleOpenApi.floatingState && "show" !== t.styleOpenApi.floatingState || 2 === n.location) {
                var u = t.styleOpenApi && t.styleOpenApi.floatingState ? t.styleOpenApi.floatingState : "upSlideShow";
                o = 'onload="' + c.M + "(2, '" + n.location + "', '" + u + "', this);\""
            }
            return {
                iframeId: "iframe" + t.id,
                srcAttriName: "src",
                onloadDefine: o,
                iframeWidth: "" + i,
                iframeHeight: "" + e,
                url: r
            }
        }, Pi: function (t) {
            var n = ["<iframe", ' id="{iframeId}"', ' name="{iframeId}"', " {onloadDefine}", ' {srcAttriName}="{url}"', ' width="{iframeWidth}"', ' height="{iframeHeight}"', ' scrolling="no"', ' frameborder="0">', "</iframe>"];
            return n = n.join(""), d.h(n, t)
        }
    }
}, function (t, n, i) {
    var e = i(4), r = i(0);
    e.__eventMap = e.__eventMap || {};
    var o = e.__eventMap;
    t.exports = {
        Ut: function (t, n, i) {
            if (t) if (t.addEventListener) t.addEventListener(n, i, !1); else if (t.attachEvent) t.attachEvent("on" + n, i); else {
                var e = t["on" + n];
                t["on" + n] = function () {
                    e && e.apply(this, arguments), i.apply(this, arguments)
                }
            }
            return t
        }, ne: function (t, n) {
            r.A(n) && (o[t] = n)
        }, ee: function (t) {
            delete o[t]
        }, Tn: function (t) {
            var n = o[t];
            if (r.A(n)) {
                var i = Array.prototype.slice.call(arguments, 1);
                n.apply(window, i)
            }
        }
    }
}, function (t, n) {
    var o = null, e = !1;
    try {
        (o = window.localStorage) && o.removeItem && (e = !0)
    } catch (i) {
    }
    t.exports = {
        re: "___ds_storage__", Dn: function () {
            return e
        }, pn: function (t, n, i) {
            if (o) {
                n = i ? encodeURIComponent(n) : n;
                try {
                    o.setItem(t, n)
                } catch (e) {
                }
            }
        }, Gt: function (t, n) {
            if (o) try {
                var i = o.getItem(t);
                return n && i ? decodeURIComponent(i) : i
            } catch (e) {
                return null
            }
            return null
        }, Hn: function (t, n, i) {
            if (o && n) {
                n = i ? encodeURIComponent(n) : n;
                var e = this.Gt(t) || "";
                if (!n || 0 <= e.indexOf(n)) return;
                e += (e && "|") + n;
                try {
                    this.pn(t, e)
                } catch (r) {
                }
            }
        }, oe: function (t) {
            try {
                o && o.removeItem(t)
            } catch (n) {
            }
        }, zn: function (t, n, i) {
            if (o) {
                n = i ? encodeURIComponent(n) : n;
                var e = this.Gt(t) || "";
                if (e = e.replace(new RegExp(n + "\\|?", "g"), "").replace(/\|$/, "")) try {
                    this.pn(t, e)
                } catch (r) {
                } else o.removeItem(t)
            }
        }, Nn: function (t) {
            var n = this.Gt(this.re + t) || "", i = {};
            return e && n && (n = n.split("|"), i.value = parseInt(n[0], 10) || 0, i.setTime = parseInt(n[1], 10) || 0), i
        }, ae: function (t) {
            this.oe(this.re + t)
        }
    }
}, function (t, n, i) {
    var s = i(4);
    s.__mappingCache = s.__mappingCache || {}, t.exports = {
        rn: function (t) {
            if (!t) return 0;
            for (var n = 21, i = 0; i < t.length; i++) n += t.charCodeAt(i);
            return n
        }, ue: function (t) {
            var n, i = t % 25 + 1, e = "key" + i;
            if (!(n = s.__mappingCache[e])) {
                n = {};
                for (var r = 97; r <= 122; r++) {
                    var o = String.fromCharCode(r), a = r + i;
                    a = 122 < a ? a - 26 : a;
                    var u = String.fromCharCode(a);
                    n[o] = u
                }
                s.__mappingCache[e] = n
            }
            return n
        }, ce: function (t) {
            var n, i = t % 64 + 1, e = "v" + i, r = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_-.";
            if (!(n = s.__mappingCache[e])) {
                n = {};
                for (var o = 0; o < r.length; o++) {
                    var a = r.charAt(o), u = o + i, c = r.charAt(65 <= u ? u - 65 : u);
                    n[a] = c
                }
                s.__mappingCache[e] = n
            }
            return n
        }, Gn: function (t, n, i) {
            for (var e = this.ue(t), r = this.ce(t), o = {}, a = 0; a < n.length; a++) {
                n[a] = n[a].replace(/\./g, "%_"), n[a] = n[a].replace(/%/g, ".");
                var u = n[a].split("=");
                o[u[0]] = u[1]
            }
            var c = [];
            for (var s in o) if (o.hasOwnProperty(s) && o[s]) {
                for (var f = "", d = 0; d < s.length; d++) {
                    var l = s.charAt(d);
                    f += e[l] || l
                }
                f += i ? "%" : "=";
                for (var h = o[s], v = 0; v < h.length; v++) {
                    var p = h.charAt(v);
                    f += r[p] || p
                }
                c.push(f)
            }
            return c.join("&")
        }
    }
}, function (t, n, i) {
    var e = i(2), p = i(7), r = i(6), o = i(5), a = i(0), u = i(34), _ = !0, w = window;
    t.exports = {
        se: null, fe: 300, de: !1, le: function (t, n) {
            var i = t.paramObj, e = t.width, r = t.height, o = t.uuid || t.paramObj.uuid, a = t.paramObj.psi,
                u = t.proxy, c = t.response.placement && t.response.placement.basic || {}, s = c.publisherDomain,
                f = c.flowType, d = t.containerInfo;
            e = d.width, r = d.height;
            var l = "" + t.slotId, h = {
                uid: t.id,
                slotId: l,
                flowType: f,
                domEle: n,
                word: i.ltu,
                iframeStatus: i.dis,
                aw: e,
                ah: r,
                uuid: o,
                psi: a,
                ob: 0,
                viewContext: {opacity: 1, lastAdViewStatus: !1, currAdViewStatus: !1, haveShown: !1}
            };
            1 === u && s && s.pos && (h.posDomain = s.pos);
            var v = n.getElementsByTagName("iframe");
            if (v && v.length) {
                var p = v[0];
                h.watchIframe = p, h.targetOrigin = p.getAttribute("src") || "*";
                try {
                    h.watchIframeWindow = p.contentWindow
                } catch (_) {
                    h.watchIframeWindow = ""
                }
            }
            return h
        }, regisetViewWatch: function (t) {
            this.de || u.he || (this.ve(), this.de = !0), this.se = this.se || [];
            var n = e.kt(t);
            if (n) {
                var i = this.le(t, n);
                if (u.he) return u.pe(i, n);
                i.sendMessage = function () {
                    try {
                        if (window.postMessage && this.watchIframeWindow && this.viewContext && this.viewContext.lastAdViewStatus !== this.viewContext.currAdViewStatus && window.JSON && window.JSON.stringify && window.postMessage && i.watchIframeWindow && i.watchIframeWindow.postMessage) {
                            var t = JSON.stringify({
                                type: "adShowStatus",
                                uid: i.uid,
                                adViewStatus: i.viewContext.currAdViewStatus
                            });
                            i.watchIframeWindow.postMessage(t, "*")
                        }
                    } catch (n) {
                    }
                }, i.sendShowLogOld = function () {
                    try {
                        if (this.watchIframeWindow && this.viewContext && !this.viewContext.haveShown && this.viewContext.currAdViewStatus) {
                            this.viewContext.haveShown = !0;
                            var t = this.analysisUrl;
                            o.jn({url: t})
                        }
                    } catch (n) {
                    }
                }, i.watchIframe && e.Ut(i.watchIframe, "load", this._e), this.we(i, n), this.se.push(i), (!r.ie || r.ie && 6 < r.ie) && this._e()
            }
        }, unregisetViewWatch: function (t, n) {
            if (u.he) return u.me(n);
            if (this.se) for (var i = t.id, e = 0; e < this.se.length; e++) {
                if (this.se[e].uid === i) return void this.se.splice(e, 1)
            }
        }, we: function (t, n) {
            var i = p.ti(n);
            t.left = i.left, t.top = i.top;
            var e = window.screen.availWidth, r = window.screen.availHeight;
            1e4 < e && (e = 0), 1e4 < r && (r = 0), t.desktopResolution = e + "," + r, t.browserRegion = p.Yn(window) + "," + p.$n(window), t.pageRegion = p.ei(window) + "," + p.ri(window)
        }, ge: function (t, n) {
            return t.currViewStatus = n.isInView, t.lastAdViewStatus = t.currAdViewStatus, t.currAdViewStatus = n.isAdView, t.opacity = n.opacity, t
        }, ye: function (t) {
            var n = t.domEle;
            if (!n) return {isInView: !1, isAdView: !1, opacity: 1};
            var i = !1, e = !1, r = 100;
            if (_) try {
                if (r = p.ii(n), this.be(n, r)) {
                    var o = w.innerHeight || document.documentElement.clientHeight,
                        a = w.innerWidth || document.documentElement.clientWidth, u = this.ti(n), c = p.ui(n),
                        s = p.si(n);
                    i = 0 <= u.top && u.bottom <= o && 0 <= u.left && u.right <= a;
                    var f = 0 < u.top ? u.top : 0, d = u.bottom > o ? o : u.bottom, l = 0 < u.left ? u.left : 0,
                        h = u.right > a ? a : u.right;
                    if (f < d && l < h) e = .5 * (c * s) < (d - f) * (h - l)
                } else e = i = !1
            } catch (v) {
            }
            return {isInView: i, isAdView: e, opacity: r}
        }, be: function (t, n) {
            return 50 <= n && p.hi(t)
        }, ti: function (t) {
            var n = p.Qn(t), i = p.ai(window), e = p.oi(window), r = p.ui(t, !1), o = p.si(t, !1);
            return {
                top: n.top - e,
                bottom: n.top - e + o,
                left: n.left - i,
                right: n.left - i + r,
                topAbs: n.top,
                bottomAbs: n.top + o,
                leftAbs: n.left,
                rightAbs: n.left + r
            }
        }, _e: function () {
            if (this.se) for (var t = 0, n = this.se.length; t < n; t++) {
                var i = this.se[t], e = this.ye(i);
                i.viewContext = this.ge(i.viewContext, e), i.analysisUrl = o.Jn(i), i.sendMessage && i.sendMessage(), !i.haveShown && i.sendShowLogOld && i.sendShowLogOld()
            }
        }, ve: function () {
            this.xe(w), this.Ie(w)
        }, Ie: function (t) {
            e.Ut(t, "resize", a.O(this, this.Ae)()), e.Ut(document, "scroll", a.O(this, this.Ae)())
        }, Ae: function () {
            var t = null, n = this;
            return function () {
                null !== t && clearTimeout(t), t = setTimeout(a.O(n, n._e), n.fe)
            }
        }, xe: function (t) {
            r.ie ? (e.Ut(t, "focusin", a.O(this, this.ke)), e.Ut(t, "focusout", a.O(this, this.Se))) : (e.Ut(t, "focus", a.O(this, this.ke)), e.Ut(t, "blur", a.O(this, this.Se)))
        }, ke: function () {
            _ = !0
        }, Se: function () {
            _ = !1
        }
    }
}, function (t, n, i) {
    var r = i(1), e = i(3), o = i(25), a = i(8), u = i(36), c = i(37), s = i(38), f = i(39), d = i(40), l = i(41),
        h = i(2), v = i(0), p = i(4), _ = i(16), w = i(42), m = i(7), g = i(5), y = i(44), b = i(45), x = i(47),
        I = i(48), A = i(49), k = i(50), S = i(51), C = i(26), T = i(9), D = i(53),
        E = {inlayFix: b, "mobile.inlayFix": x, "mobile.float": I, "mobile.insideText": A, "ds.inlay": k, "float": S};
    t.exports = {
        fn: function () {
            this.Ce(), w.Te(), l.Te(), s.Te(), f.Te(), c.Te(), d.Te()
        }, Ce: function () {
            a.gi(r.B, v.O(this, this.De)), a.gi(r.M, this.Ee)
        }, De: function (t) {
            try {
                var n = e.nn(t.tuid);
                if (!n || n.containerId && !h.kt(n)) return;
                n.response = t, e.sn(n.id, r.G), e.processSlot(n), e.En(n), n = o.Oe(n), this.Pe(n)
            } catch (i) {
                if (!t.tuid) return;
                g.Ht(r.ut, i, {pos: "callback", id: t.tuid})
            }
        }, Pe: function (t, n) {
            if (t && p.isAutoOpPage && !p.autoBack) return p.restSlotInfo = p.restSlotInfo || {}, void (p.restSlotInfo[t.id] = t);
            if (p.isAutoOpPage && !v.f(p.restSlotInfo)) {
                var i = p.restSlotInfo;
                for (var e in i) i.hasOwnProperty(e) && this.Me(this.Ue(i[e], n));
                p.restSlotInfo = null
            }
            t && this.Me(t)
        }, Ue: function (t, n) {
            if (n && t.paramObj) {
                var i = t.paramObj.exps;
                i = i ? i + "," + n : n, t.paramObj.exps = i
            }
            return t
        }, Me: function (t) {
            var n = u.Re(t), i = w.Be(t, n);
            if (n && i) {
                D.setExpNumber(t, n), t.isPdbAd && g.Vn("pdbDupLog");
                var e = E[n] || this.Ne(n);
                e ? this.Le(n, t, e) : this.Fe(n, t)
            }
        }, Fe: function (t, n) {
            var i = t;
            0 < i.indexOf(".") && (i = i.replace(".", "/")), i = r.dt + i + ".js", y.je(n.id, i, v.O(this, this.He, t, n))
        }, He: function (t, n) {
            try {
                var i = this.Ne(t);
                this.Le(t, n, i)
            } catch (e) {
                g.Ht(r.ut, e, {pos: "painterLoadCallback", painter: t, id: n.id})
            }
        }, Ne: function (t) {
            var n = p.painter;
            if (n) {
                var i = t.split(".");
                return "mobile" === i[0] ? n.mobile && n.mobile[i[1]] : n[i[0]]
            }
        }, Le: function (t, n, i) {
            i && (i.render(n), this.ze(n), t in E && _.regisetViewWatch(n), this.We(n))
        }, ze: function (n) {
            var t = h.kt(n), i = t && t.querySelector && t.querySelector("iframe");
            i && h.Ut(i, "load", function () {
                if (window.JSON && window.JSON.stringify && i.contentWindow && i.contentWindow.postMessage) {
                    var t = JSON.stringify({type: 1, tuid: n.id});
                    i.contentWindow.postMessage(t, "*")
                }
            })
        }, Ee: function (t) {
            try {
                var n = Array.prototype.slice.call(arguments, 1);
                switch (t) {
                    case"auto":
                        w.De.apply(w, n);
                        break;
                    case 1:
                        C.Ve.apply(C, n);
                        break;
                    case 2:
                        I.qe.apply(I, n);
                        break;
                    case 3:
                        T.ki.apply(T, n)
                }
            } catch (i) {
                g.Ht(r.ut, i, {pos: "commoncallback"})
            }
        }, We: function (t) {
            var n = h.kt(t);
            -1 < (t.paramObj.dis ? t.paramObj.ltu : window.location.href).indexOf(r.ft) && t.isAutoAd && n && m.fi(n, t)
        }
    }
}, function (t, n) {
    t.exports = {
        jn: function (t) {
            var n = t.response.pdb_deliv.deliv_des, i = n && n._html, e = i && i.monitorUrl;
            if (e) {
                var r = new Image, o = "log" + +new Date;
                window[o] = r, "http" === e.substr(0, 4).toLowerCase() ? ("http://" === e.substr(0, 7).toLowerCase() && (e = e.replace("http://", "//")), "https://" === e.substr(0, 8).toLowerCase() && (e = e.replace("https://", "//"))) : e = "//" + e;
                r.onload = r.onerror = r.onabort = function () {
                    r.onload = r.onerror = r.onabort = null;
                    try {
                        delete window[o]
                    } catch (t) {
                        window[o] = undefined
                    }
                }, r.src = e
            }
        }
    }
}, function (t, n) {
    t.exports = {
        qt: function (t, n) {
            return t = t || 0, n = n || 1, Math.floor(Math.random() * (n - t + 1)) + t
        }, Xt: function (t, n) {
            for (var i = "", e = this.qt(t, n), r = 0; r < e; r++) i += String.fromCharCode(Math.floor(26 * Math.random()) + 97);
            return i
        }, Wt: function (t) {
            var n = !1;
            return t = 10 * (t || 50), this.qt(0, 1e3) < t && (n = !0), n
        }, Gt: function (t) {
            var n;
            t && 0 < t.length && (n = t[this.qt(0, t.length - 1)]);
            return n
        }, Kt: function () {
            var t = ["padding-left:0px;", "padding-right:0px;", "padding-top:0px;", "padding-bottom:0px;", "padding:0px;", "margin-left:0px;", "margin-right:0px;", "margin-top:0px;", "margin-bottom:0px;", "margin:0px;", "cursor:auto;", "visibility:visible;", "text-align:left;", "zoom:1;"];
            return t[this.qt(0, t.length - 1)]
        }, Ni: function (t) {
            for (var n = t.length; 0 < n; n--) {
                var i = Math.floor(Math.random() * n), e = t[n - 1];
                t[n - 1] = t[i], t[i] = e
            }
            return t
        }
    }
}, function (t, n, i) {
    var f = i(0), d = i(8);
    t.exports = {
        Je: "bizOrientations", Ge: "bizUrgentOrientations", Xe: function (t, n) {
            var i = this.Ke.apply(this, arguments);
            return this.Ye(t, i)
        }, Ke: function (t, n) {
            return t && /^[0-9a-zA-Z]+$/.test(t) && n ? n = f.I(n) ? n : Array.prototype.slice.call(arguments, 1) : []
        }, Ye: function (t, n) {
            if (!n || !n.length) return !1;
            var i = this.Je, e = d.wi(i) || {}, r = {};
            for (var o in e) f.e.call(e, o) && (r[o] = f.I(e[o]) ? e[o].slice() : e[o]);
            for (var a = r[t] || [], u = n.length, c = 0; c < u; c++) {
                var s = n[c];
                "string" == typeof s && (s = encodeURIComponent(s)).length <= 100 && (a[a.length] = s)
            }
            return !!a.length && (r[t] = f.x(a), d.pi(i, r), !0)
        }, $e: function (t) {
            t = t || 500, t = Math.max(0, Math.min(t, 500));
            var n, i = [], e = d.wi(this.Ge) || d.wi(this.Je) || {};
            if (f.k(e)) for (var r in e) f.e.call(e, r) && (n = r + "=" + e[r].join(","), i[i.length] = n);
            d.pi(this.Ge, undefined), i.sort(function (t, n) {
                return t.length - n.length
            });
            for (var o = "", a = i.length, u = 0; u < a && !(o.length + i[u].length >= t); u++) o += (u ? "&" : "") + i[u];
            return o
        }
    }
}, function (t, n) {
    t.exports = {
        Qe: {clid: "apdi", cuid: "udi", ctkey: "lcdi", acid: "acid"},
        paramsList: [{
            key: "apdi", encode: !0, value: function () {
                return this.Ze.apdi || ""
            }
        }, {
            key: "udi", encode: !0, value: function () {
                return this.Ze.udi || ""
            }
        }, {
            key: "lcdi", encode: !0, value: function () {
                return this.Ze.lcdi || ""
            }
        }, {
            key: "acid", encode: !0, value: function () {
                return this.Ze.acid || ""
            }
        }],
        tr: function (t, n) {
            for (var i in n) {
                if (i && n.hasOwnProperty(i) && this.Qe[i]) t[this.Qe[i]] = n[i]
            }
        },
        setSlotInfo: function (t) {
            this.Ze = t
        }
    }
}, function (t, n, i) {
    var e = i(23), r = i(5), o = i(1);
    t.exports = {
        nr: function () {
            try {
                var i = window.performance && window.performance.now && 1e3 * window.performance.now() || (new Date).getTime(),
                    t = "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, function (t) {
                        var n = 16 * Math.random();
                        return n = (i + n) % 16 | 0, i = Math.floor(i / 16), ("x" === t ? n : 3 & n | 8).toString(16)
                    });
                return e(t).substr(8, 16)
            } catch (n) {
                return r.Ht(o.ut, n, {pos: "uuid"}), ""
            }
        }
    }
}, function (n, e, r) {
    var w;
    !function () {
        "use strict";

        function d(t, n) {
            var i = (65535 & t) + (65535 & n);
            return (t >> 16) + (n >> 16) + (i >> 16) << 16 | 65535 & i
        }

        function u(t, n, i, e, r, o) {
            return d(function a(t, n) {
                return t << n | t >>> 32 - n
            }(d(d(n, t), d(e, o)), r), i)
        }

        function l(t, n, i, e, r, o, a) {
            return u(n & i | ~n & e, t, n, r, o, a)
        }

        function h(t, n, i, e, r, o, a) {
            return u(n & e | i & ~e, t, n, r, o, a)
        }

        function v(t, n, i, e, r, o, a) {
            return u(n ^ i ^ e, t, n, r, o, a)
        }

        function p(t, n, i, e, r, o, a) {
            return u(i ^ (n | ~e), t, n, r, o, a)
        }

        function c(t, n) {
            var i, e, r, o, a;
            t[n >> 5] |= 128 << n % 32, t[14 + (n + 64 >>> 9 << 4)] = n;
            var u = 1732584193, c = -271733879, s = -1732584194, f = 271733878;
            for (i = 0; i < t.length; i += 16) u = l(e = u, r = c, o = s, a = f, t[i], 7, -680876936), f = l(f, u, c, s, t[i + 1], 12, -389564586), s = l(s, f, u, c, t[i + 2], 17, 606105819), c = l(c, s, f, u, t[i + 3], 22, -1044525330), u = l(u, c, s, f, t[i + 4], 7, -176418897), f = l(f, u, c, s, t[i + 5], 12, 1200080426), s = l(s, f, u, c, t[i + 6], 17, -1473231341), c = l(c, s, f, u, t[i + 7], 22, -45705983), u = l(u, c, s, f, t[i + 8], 7, 1770035416), f = l(f, u, c, s, t[i + 9], 12, -1958414417), s = l(s, f, u, c, t[i + 10], 17, -42063), c = l(c, s, f, u, t[i + 11], 22, -1990404162), u = l(u, c, s, f, t[i + 12], 7, 1804603682), f = l(f, u, c, s, t[i + 13], 12, -40341101), s = l(s, f, u, c, t[i + 14], 17, -1502002290), u = h(u, c = l(c, s, f, u, t[i + 15], 22, 1236535329), s, f, t[i + 1], 5, -165796510), f = h(f, u, c, s, t[i + 6], 9, -1069501632), s = h(s, f, u, c, t[i + 11], 14, 643717713), c = h(c, s, f, u, t[i], 20, -373897302), u = h(u, c, s, f, t[i + 5], 5, -701558691), f = h(f, u, c, s, t[i + 10], 9, 38016083), s = h(s, f, u, c, t[i + 15], 14, -660478335), c = h(c, s, f, u, t[i + 4], 20, -405537848), u = h(u, c, s, f, t[i + 9], 5, 568446438), f = h(f, u, c, s, t[i + 14], 9, -1019803690), s = h(s, f, u, c, t[i + 3], 14, -187363961), c = h(c, s, f, u, t[i + 8], 20, 1163531501), u = h(u, c, s, f, t[i + 13], 5, -1444681467), f = h(f, u, c, s, t[i + 2], 9, -51403784), s = h(s, f, u, c, t[i + 7], 14, 1735328473), u = v(u, c = h(c, s, f, u, t[i + 12], 20, -1926607734), s, f, t[i + 5], 4, -378558), f = v(f, u, c, s, t[i + 8], 11, -2022574463), s = v(s, f, u, c, t[i + 11], 16, 1839030562), c = v(c, s, f, u, t[i + 14], 23, -35309556), u = v(u, c, s, f, t[i + 1], 4, -1530992060), f = v(f, u, c, s, t[i + 4], 11, 1272893353), s = v(s, f, u, c, t[i + 7], 16, -155497632), c = v(c, s, f, u, t[i + 10], 23, -1094730640), u = v(u, c, s, f, t[i + 13], 4, 681279174), f = v(f, u, c, s, t[i], 11, -358537222), s = v(s, f, u, c, t[i + 3], 16, -722521979), c = v(c, s, f, u, t[i + 6], 23, 76029189), u = v(u, c, s, f, t[i + 9], 4, -640364487), f = v(f, u, c, s, t[i + 12], 11, -421815835), s = v(s, f, u, c, t[i + 15], 16, 530742520), u = p(u, c = v(c, s, f, u, t[i + 2], 23, -995338651), s, f, t[i], 6, -198630844), f = p(f, u, c, s, t[i + 7], 10, 1126891415), s = p(s, f, u, c, t[i + 14], 15, -1416354905), c = p(c, s, f, u, t[i + 5], 21, -57434055), u = p(u, c, s, f, t[i + 12], 6, 1700485571), f = p(f, u, c, s, t[i + 3], 10, -1894986606), s = p(s, f, u, c, t[i + 10], 15, -1051523), c = p(c, s, f, u, t[i + 1], 21, -2054922799), u = p(u, c, s, f, t[i + 8], 6, 1873313359), f = p(f, u, c, s, t[i + 15], 10, -30611744), s = p(s, f, u, c, t[i + 6], 15, -1560198380), c = p(c, s, f, u, t[i + 13], 21, 1309151649), u = p(u, c, s, f, t[i + 4], 6, -145523070), f = p(f, u, c, s, t[i + 11], 10, -1120210379), s = p(s, f, u, c, t[i + 2], 15, 718787259), c = p(c, s, f, u, t[i + 9], 21, -343485551), u = d(u, e), c = d(c, r), s = d(s, o), f = d(f, a);
            return [u, c, s, f]
        }

        function s(t) {
            var n, i = "", e = 32 * t.length;
            for (n = 0; n < e; n += 8) i += String.fromCharCode(t[n >> 5] >>> n % 32 & 255);
            return i
        }

        function f(t) {
            var n, i = [];
            for (i[(t.length >> 2) - 1] = undefined, n = 0; n < i.length; n += 1) i[n] = 0;
            var e = 8 * t.length;
            for (n = 0; n < e; n += 8) i[n >> 5] |= (255 & t.charCodeAt(n / 8)) << n % 32;
            return i
        }

        function o(t) {
            var n, i, e = "0123456789abcdef", r = "";
            for (i = 0; i < t.length; i += 1) n = t.charCodeAt(i), r += e.charAt(n >>> 4 & 15) + e.charAt(15 & n);
            return r
        }

        function i(t) {
            return unescape(encodeURIComponent(t))
        }

        function a(t) {
            return function n(t) {
                return s(c(f(t), 8 * t.length))
            }(i(t))
        }

        function _(t, n) {
            return function u(t, n) {
                var i, e, r = f(t), o = [], a = [];
                for (o[15] = a[15] = undefined, 16 < r.length && (r = c(r, 8 * t.length)), i = 0; i < 16; i += 1) o[i] = 909522486 ^ r[i], a[i] = 1549556828 ^ r[i];
                return e = c(o.concat(f(n)), 512 + 8 * n.length), s(c(a.concat(e), 640))
            }(i(t), i(n))
        }

        function t(t, n, i) {
            return n ? i ? _(n, t) : function e(t, n) {
                return o(_(t, n))
            }(n, t) : i ? a(t) : function r(t) {
                return o(a(t))
            }(t)
        }

        (w = function () {
            return t
        }.call(e, r, e, n)) === undefined || (n.exports = w)
    }()
}, function (t, n, i) {
    var e = i(2);
    t.exports = {
        ir: function (t) {
            var n = e.Bt(t), i = "";
            return e.Et(n) && (i = n.document.referrer), i = i || n.location.href
        }, er: function (t) {
            0 === (t = t || document.domain).indexOf("www.") && (t = t.substr(4)), "." === t.charAt(t.length - 1) && (t = t.substring(0, t.length - 1));
            var n = "([a-z0-9][a-z0-9\\-]*?\\.(?:" + ["com", "cn", "net", "org", "gov", "info", "la", "cc", "co", "jp", "us", "hk", "tv", "me", "biz", "in", "be", "io", "tk", "cm", "li", "ru", "ws", "hn", "fm", "tw", "ma", "in", "vn", "name", "mx", "gd", "im"].join("|") + ")(?:\\.(?:cn|jp|tw|ru|th))?)$",
                i = new RegExp(n, "i"), e = t.match(i);
            return e ? e[0] : t
        }
    }
}, function (t, n, i) {
    var e = i(1), r = i(4), o = i(2), a = i(14), u = i(0), c = i(8), s = i(11), f = i(6);
    t.exports = {
        In: function (t) {
            try {
                if (r.antiScript || !this.rr(t)) return;
                r.antiScript = document.createElement("script"), r.antiScript.type = "text/javascript", r.antiScript.async = !0, r.antiScript.src = "//cpro.baidustatic.com/cpro/ui/ab.min.js";
                var n = document.getElementsByTagName("script")[0];
                n && n.parentNode && n.parentNode.insertBefore(r.antiScript, n), o.jt(r.antiScript, function () {
                    window.BAIDU_SSP_sendAntiLog && window.BAIDU_SSP_sendAntiLog()
                }), c.gi("__abbaidu_2028_cb", u.O(this, function (t) {
                    t && (t = t + "|" + (new Date).getTime(), a.pn("___ds_storage__loadAntiFile", t))
                }))
            } catch (i) {
            }
        }, Oe: function (t) {
            if (this.rr(t)) {
                var n = a.Nn("loadAntiFile"), i = "", e = t.paramObj, r = parseInt(e.dai, 10) || 0;
                if ("asd" !== t.productLine && "asdv" !== t.productLine && "asdr" !== t.productLine && 700 === n.value && 10 < r) return null;
                switch (n.value) {
                    case 300:
                        i = "119016";
                        break;
                    case 200:
                        i = "119017";
                        break;
                    case 700:
                        i = "119018";
                        break;
                    default:
                        i = "119019"
                }
                e.exps = s.Ji(e.exps, i)
            }
            return t
        }, rr: function (t) {
            return (f.isAndroid || f.isIOS) && !o.Et(window) && !t.isAnti && e.wt.test(t.id)
        }
    }
}, function (t, n, i) {
    var s = i(3), f = i(1), d = i(2), l = i(9), o = i(16), e = {}, h = {};
    t.exports = {
        Zi: function (t, n) {
            e[t] = n
        }, or: function (t) {
            return e[t]
        }, Ve: function (t, n) {
            if (!t || h[t]) return !1;
            h[t] = n;
            var i = this.or(t), e = f.V + "dpv=" + t + "&di=" + i.slotId;
            d.Lt(e)
        }, te: function (t) {
            if ("success" !== (t.html || "success")) {
                var n = this.or(t.dpv);
                if (n) {
                    var i = n.response, e = i.pdb_deliv, r = i.rtb_deliv, o = i.order_deliv, a = e.deliv_des;
                    if (a = a._html || {}, 0 === parseInt(e.deliv_id, 10) && (0 !== parseInt(o.deliv_id, 10) || 0 !== parseInt(r.deliv_id, 10)) && 7 === i.placement.complement_type) return this.ar(n);
                    if ("rich" === a.type) {
                        var u = d.kt(n);
                        l.Ai(u, a.content)
                    } else {
                        var c = h[t.dpv];
                        s.un(n, f.K), c.outerHTML = l.Ei(n)
                    }
                }
            }
        }, ar: function (t) {
            var n = t.containerId, i = d.kt(t), e = document.getElementById(n + "_left"),
                r = document.getElementById(n + "_right");
            i && (o.unregisetViewWatch(t, i), i.parentNode.removeChild(i)), e && e.parentNode.removeChild(e), r && r.parentNode.removeChild(r)
        }
    }
}, function (t, n, i) {
    try {
        o = i(4), a = i(8), u = i(0), c = i(3), s = i(16), f = i(12), d = i(9), l = i(10), h = i(17), i(55), a.gi("regisetViewWatch", u.O(s, s.regisetViewWatch), o), a.gi("getFrameHTML", u.O(f, f.getFrameHTML), o), a.gi("renderRichMaterial", u.O(d, d.renderRichMaterial), o), a.gi("processSlotInfo", u.O(c, c.processSlotInfo), o), a.gi("getPmpRequestUrl", u.O(l, l.getPmpRequestUrl), o), h.fn()
    } catch (v) {
        var e = i(5), r = i(1);
        e.Ht(r.ut, v, {date: "1125"})
    }
    var o, a, u, c, s, f, d, l, h
}, function (t, n, i) {
    var o = i(2), a = i(7), u = i(1), r = i(11), c = i(4), e = i(22), s = i(5), f = window;
    t.exports = {
        paramsList: [{
            key: "di", value: function () {
                return this.Ze.slotId
            }
        }, {
            key: "uuid", value: function () {
                return e.nr()
            }
        }, {
            key: "dri", value: function () {
                return this.Ze.index
            }
        }, {
            key: "dis", value: function () {
                var t = 0;
                o.Et(f) && (t += 1), o.Pt(f, f.top) && (t += 2);
                var n = a.Yn(), i = a.$n();
                (n < 40 || i < 10) && (t += 4);
                try {
                    if (3 == (3 & t)) {
                        var e = o.Bt();
                        e.document.referrer && e.top === e.parent && (t += 8)
                    }
                } catch (r) {
                    s.Ht(u.ut, r, {pos: "disParam"})
                }
                return t
            }
        }, {
            key: "dai", value: function () {
                return this.Ze.count
            }
        }, {
            key: "ps", value: function () {
                var t = o.kt(this.Ze), n = a.ti(t);
                return n.top + "x" + n.left
            }
        }, {
            key: "coa", encode: !0, value: function () {
                var t = [], n = this.Ze.styleOpenApi;
                for (var i in "-1" === this.Ze.pcwd && (n.cpro_ftpc = "true"), n) if (i && "undefined" != typeof n[i] && n.hasOwnProperty(i)) {
                    var e = i;
                    if ("width" === i || "height" === i || "sizeType" === i || "apType" === i || "floatingState" === i) continue;
                    "cpro_w" === i && (e = "rsi0"), "cpro_h" === i && (e = "rsi1"), t.push(e + "=" + encodeURIComponent(n[i]))
                }
                return t.join("&")
            }
        }, {
            key: "enu", value: function () {
                return "encoding"
            }
        }, {
            key: "cw", value: function () {
                var t = this.Ze.styleOpenApi.cpro_ftpc || "true" === this.Ze.styleOpenApi.cpro_ftpc || "-1" === this.Ze.pcwd,
                    n = o.kt(this.Ze);
                if (t && n && n.parentElement.clientWidth) return n.parentElement.clientWidth || 0
            }
        }, {
            key: "exps", value: function () {
                var t = this.Ze.exps;
                if (t && 0 <= t.indexOf(u.ht)) {
                    for (var n, i = t.split(","), e = 0; e < i.length; e++) (n = parseInt(i[e], 10)) !== u.ht && n !== u._t && n !== u.vt && n !== u.pt || 1 !== this.Ze.proxy || (n += 1, i[e] = "" + n);
                    t = i.join(",")
                }
                return r.Ji(t, c.expId)
            }
        }, {
            key: "ant", value: function () {
                return 1 === this.Ze.proxy ? 1 : 0
            }
        }, {
            key: "aa", value: function () {
                return f[u.P + "BANAUTO"] ? "0" : "1"
            }
        }, {
            key: "psi", value: function () {
                var t = c[u.Y];
                return t = t || (c[u.Y] = e.nr())
            }
        }], setSlotInfo: function (t) {
            this.Ze = t
        }
    }
}, function (t, n, i) {
    var e = i(1), r = i(6), o = i(20), a = i(4);
    t.exports = {
        Ri: function (t) {
            this.ur = t
        }, paramsList: [{
            key: "dcb", value: function () {
                return e.B
            }
        }, {
            key: "dtm", value: function () {
                return e.z
            }
        }, {
            key: "dvi", value: function () {
                return "0.0"
            }
        }, {
            key: "dci", value: function () {
                return "-1"
            }
        }, {
            key: "dds", value: function () {
                return ""
            }
        }, {
            key: "dpt", value: function () {
                return "none"
            }
        }, {
            key: "tpr", value: function () {
                var t = (new Date).getTime(), n = a.DUP_4_SF ? a : this.ur, i = n[e.st];
                return (!i || "number" != typeof i || 24e4 <= t - i) && (i = n[e.st] = t), i
            }
        }, {
            key: "cop", encode: !0, value: function () {
                return o.$e()
            }
        }, {
            key: "ti", encode: !0, limit: 60, value: function () {
                var t = r.baiduboxapp && this.ur.articleTitle ? this.ur.articleTitle : this.ur.document.title;
                return t = this.Ze.title ? this.Ze.title : t
            }
        }, {
            key: "utdi", encode: !0, value: function () {
                return r.baiduboxapp && this.ur.MP && this.ur.MP.globalConf && this.ur.MP.globalConf.cuid || ""
            }
        }, {
            key: "atdi", encode: !0, value: function () {
                return r.baiduboxapp && this.ur.MP && this.ur.MP.globalConf && this.ur.MP.globalConf.nid || ""
            }
        }, {
            key: "ari", value: function () {
                return 2
            }
        }, {
            key: "ver", value: function () {
                return "1124"
            }
        }], setSlotInfo: function (t) {
            this.Ze = t
        }
    }
}, function (t, n, i) {
    var r = i(1), e = i(6), o = i(2), a = i(7), u = i(24), c = i(31), s = i(4), f = window, d = f.document,
        l = f.navigator, h = o.Bt();
    t.exports = {
        paramsList: [{
            key: "dbv", value: function () {
                return e.qihoo ? "1" : e.chrome ? "2" : "0"
            }
        }, {
            key: "drs", value: function () {
                try {
                    return {uninitialized: 0, loading: 1, loaded: 2, interactive: 3, complete: 4}[d.readyState]
                } catch (t) {
                    return -1
                }
            }
        }, {
            key: "pcs", value: function () {
                return [a.Yn(h), a.$n(h)].join("x")
            }
        }, {
            key: "pss", value: function () {
                return [a.ei(h), a.ri(h)].join("x")
            }
        }, {
            key: "cfv", value: function () {
                return e.Kn()
            }
        }, {
            key: "cpl", value: function () {
                return l.plugins.length || 0
            }
        }, {
            key: "chi", value: function () {
                return f.history.length || 0
            }
        }, {
            key: "cce", value: function () {
                return l.cookieEnabled || 0
            }
        }, {
            key: "cec", value: function () {
                return (d.characterSet ? d.characterSet : d.charset) || ""
            }
        }, {
            key: "tlm", value: function () {
                return Date.parse(d.lastModified) / 1e3
            }
        }, {
            key: "prot", value: function () {
                return "2"
            }
        }, {
            key: "rw", value: function () {
                var t = Math.max(320, Math.min(window.innerWidth, window.innerHeight));
                return isNaN(t) && (t = Math.min(a.Yn(), a.$n())), t || 0
            }
        }, {
            key: "ltu", encode: !0, limit: 700, value: function () {
                var t;
                return 0 < (t = s.location && s.location.href ? s.location.href : u.ir(function (t) {
                    var n = a.Yn(t), i = a.$n(t);
                    return 400 < n && 120 < i
                })).indexOf("cpro_prev") && (t = t.slice(0, t.indexOf("?"))), t
            }
        }, {
            key: "liu", encode: !0, limit: 700, value: function () {
                return o.Et(f) ? d.URL : ""
            }
        }, {
            key: "ltr", encode: !0, limit: 300, value: function () {
                var t = "";
                try {
                    t = h.opener ? h.opener.document.location.href : ""
                } catch (n) {
                }
                return t || h.document.referrer
            }
        }, {
            key: "lcr", encode: !0, value: function () {
                if ("union" === this.Ze.productLine) return "";
                var t = d.referrer;
                if (!t) return "";
                var n = t.replace(/^https?:\/\//, "");
                n = (n = n.split("/")[0]).split(":")[0], n = u.er(n);
                var i = u.er(), e = c.cr(r.N);
                return e && i === n ? e : i !== n ? (c.sr(r.N, t, {domain: i}), t) : ""
            }
        }, {
            key: "ecd", encode: !0, value: function () {
                return e.ie && e.ie < 9 ? 0 : 1
            }
        }], setSlotInfo: function (t) {
            this.Ze = t
        }
    }
}, function (t, n) {
    t.exports = {
        cr: function (t, n) {
            var i = new RegExp("(^| )" + t + "=([^;]*)(;|$)").exec(document.cookie), e = "";
            return i && (e = n ? decodeURIComponent(i[2]) : i[2]), e
        }, sr: function (t, n, i, e) {
            var r = i.expires;
            document.cookie = t + "=" + (e ? encodeURIComponent(n) : n) + (i.path ? "; path=" + i.path : "") + (r ? "; expires=" + r.toGMTString() : "") + (i.domain ? "; domain=" + i.domain : "")
        }, fr: function (t) {
            var n = new Date;
            n.setTime(n.getTime() - 86400), this.sr(t, "", {path: "/", expires: n})
        }
    }
}, function (t, n, i) {
    var e = i(2), r = i(7), o = window, a = o.screen;
    t.exports = {
        paramsList: [{
            key: "uc", value: function () {
                return [a.availWidth, a.availHeight].join("x")
            }
        }, {
            key: "pis", value: function () {
                return (e.Et(o) ? [r.Yn(), r.$n()] : [-1, -1]).join("x")
            }
        }, {
            key: "sr", value: function () {
                return [a.width, a.height].join("x")
            }
        }, {
            key: "tcn", value: function () {
                var t = +new Date;
                return Math.round(t / 1e3)
            }
        }]
    }
}, function (t, n, i) {
    var o = i(1), r = i(4), a = i(2), u = i(7), e = i(6), c = i(5), s = i(24), f = i(11), d = i(22), l = window,
        h = l.document, v = l.navigator, p = l.screen, _ = a.Bt();
    t.exports = {
        setSlotInfo: function (t) {
            this.Ze = t
        }, Ri: function (t) {
            this.ur = t
        }, paramsList: [{
            key: "ti", encode: !0, limit: 60, value: function () {
                return e.baiduboxapp && this.ur.articleTitle ? this.ur.articleTitle : this.ur.document.title
            }
        }, {
            key: "utdi", encode: !0, value: function () {
                return e.baiduboxapp && this.ur.MP && this.ur.MP.globalConf && this.ur.MP.globalConf.cuid || ""
            }
        }, {
            key: "atdi", encode: !0, value: function () {
                return e.baiduboxapp && this.ur.MP && this.ur.MP.globalConf && this.ur.MP.globalConf.nid || ""
            }
        }, {
            key: "ps", value: function () {
                var t = a.kt(this.Ze), n = u.ti(t);
                return n.top + "x" + n.left
            }
        }, {
            key: "drs", value: function () {
                try {
                    return {uninitialized: 0, loading: 1, loaded: 2, interactive: 3, complete: 4}[h.readyState]
                } catch (t) {
                    return -1
                }
            }
        }, {
            key: "pcs", value: function () {
                return [u.Yn(_), u.$n(_)].join("x")
            }
        }, {
            key: "pss", value: function () {
                return [u.ei(_), u.ri(_)].join("x")
            }
        }, {
            key: "cfv", value: function () {
                return e.Kn()
            }
        }, {
            key: "cpl", value: function () {
                return v.plugins.length || 0
            }
        }, {
            key: "chi", value: function () {
                return l.history.length || 0
            }
        }, {
            key: "cce", value: function () {
                return v.cookieEnabled || 0
            }
        }, {
            key: "cec", value: function () {
                return (h.characterSet ? h.characterSet : h.charset) || ""
            }
        }, {
            key: "tlm", value: function () {
                return Date.parse(h.lastModified) / 1e3
            }
        }, {
            key: "psr", value: function () {
                return [p.width, p.height].join("x")
            }
        }, {
            key: "par", value: function () {
                return [p.availWidth, p.availHeight].join("x")
            }
        }, {
            key: "pis", value: function () {
                return (a.Et(l) ? [u.Yn(), u.$n()] : [-1, -1]).join("x")
            }
        }, {
            key: "ccd", value: function () {
                return p.colorDepth || 0
            }
        }, {
            key: "cja", value: function () {
                return v.javaEnabled().toString()
            }
        }, {
            key: "cmi", value: function () {
                return v.mimeTypes.length || 0
            }
        }, {
            key: "col", value: function () {
                var t = v.language || v.browserLanguage || v.systemLanguage || "";
                return t = t.replace(/[^a-zA-Z0-9-]/g, "")
            }
        }, {
            key: "cdo", value: function () {
                var t = l.orientation;
                return t === undefined && (t = -1), t
            }
        }, {
            key: "tcn", value: function () {
                var t = +new Date;
                return Math.round(t / 1e3)
            }
        }, {
            key: "uuid", value: function () {
                return d.nr()
            }
        }, {
            key: "di", value: function () {
                return this.Ze.slotId
            }
        }, {
            key: "dtm", value: function () {
                return o.z
            }
        }, {
            key: "tpr", value: function () {
                var t = (new Date).getTime(), n = r.DUP_4_SF ? r : this.ur, i = n[o.st];
                return (!i || "number" != typeof i || 24e4 <= t - i) && (i = n[o.st] = t), i
            }
        }, {
            key: "ari", value: function () {
                return 2
            }
        }, {
            key: "ant", value: function () {
                return 1 === this.Ze.proxy ? 1 : 0
            }
        }, {
            key: "psi", value: function () {
                var t = r[o.Y];
                return t = t || (r[o.Y] = d.nr())
            }
        }, {
            key: "exps", value: function () {
                var t = this.Ze.exps;
                if (t && 0 <= t.indexOf(o.ht)) {
                    for (var n, i = t.split(","), e = 0; e < i.length; e++) (n = parseInt(i[e], 10)) !== o.ht && n !== o._t && n !== o.vt && n !== o.pt || 1 !== this.Ze.proxy || (n += 1, i[e] = "" + n);
                    t = i.join(",")
                }
                return f.Ji(t, r.expId)
            }
        }, {
            key: "prot", value: function () {
                return "2"
            }
        }, {
            key: "dis", value: function () {
                var t = 0;
                a.Et(l) && (t += 1), a.Pt(l, l.top) && (t += 2);
                var n = u.Yn(), i = u.$n();
                (n < 40 || i < 10) && (t += 4);
                try {
                    if (!0 & t) {
                        var e = a.Bt();
                        e.document.referrer && e.top === e.parent && (t += 8)
                    }
                } catch (r) {
                    c.Ht(o.ut, r, {pos: "disParam"})
                }
                return t
            }
        }, {
            key: "dai", value: function () {
                return this.Ze.count
            }
        }, {
            key: "dri", value: function () {
                return this.Ze.index
            }
        }, {
            key: "ltu", encode: !0, limit: 700, value: function () {
                var t;
                return 0 < (t = r.location && r.location.href ? r.location.href : s.ir(function (t) {
                    var n = u.Yn(t), i = u.$n(t);
                    return 400 < n && 120 < i
                })).indexOf("cpro_prev") && (t = t.slice(0, t.indexOf("?"))), t
            }
        }, {
            key: "liu", encode: !0, limit: 700, value: function () {
                return a.Et(l) ? h.URL : ""
            }
        }, {
            key: "ltr", encode: !0, limit: 300, value: function () {
                var t = "";
                try {
                    t = _.opener ? _.opener.document.location.href : ""
                } catch (n) {
                }
                return t || _.document.referrer
            }
        }, {
            key: "coa", encode: !0, value: function () {
                var t = [], n = this.Ze.styleOpenApi;
                for (var i in "-1" === this.Ze.pcwd && (n.cpro_ftpc = "true"), n) if (i && "undefined" != typeof n[i] && n.hasOwnProperty(i)) {
                    var e = i;
                    if ("width" === i || "height" === i || "sizeType" === i || "apType" === i || "floatingState" === i) continue;
                    "cpro_w" === i && (e = "rsi0"), "cpro_h" === i && (e = "rsi1"), t.push(e + "=" + encodeURIComponent(n[i]))
                }
                return t.join("&")
            }
        }]
    }
}, function (t, n, i) {
    var s = i(7), f = i(5), a = i(0), d = i(1);
    t.exports = {
        he: window.IntersectionObserver && "function" == typeof window.IntersectionObserver && window.IntersectionObserverEntry && "intersectionRatio" in window.IntersectionObserverEntry.prototype && "function" == typeof window.IntersectionObserver.prototype.observe && "function" == typeof window.IntersectionObserver.prototype.unobserve,
        OBSERVER: null,
        pe: function (t, n) {
            try {
                this.OBSERVER = this.dr(this.lr, t), this.OBSERVER.observe(n)
            } catch (i) {
                f.Ht(d.ut, i, {pos: "observe"})
            }
        },
        me: function (t) {
            try {
                this.OBSERVER.unobserve(t)
            } catch (n) {
            }
        },
        dr: function (e, r) {
            var o = this;
            return new window.IntersectionObserver(function (t) {
                for (var n = null, i = 0; i < t.length; i++) n = t[i], a.O(o, e, n, r)()
            }, {threshold: [0, .5, 1]})
        },
        lr: function (t, n) {
            try {
                var i = n.viewContext, e = i.currAdViewStatus, r = i.currAdViewStatus = !1;
                if (.5 <= t.intersectionRatio) {
                    var o = t.target, a = s.ii(o), u = s.hi(o);
                    50 <= a && u && (r = i.currAdViewStatus = !0, i.haveShown || (this.hr(t, n, a), i.haveShown = !0))
                }
                r !== e && this.vr(n)
            } catch (c) {
                f.Ht(d.ut, c, {pos: "observeCallback"})
            }
        },
        vr: function (t) {
            if (window.JSON && window.JSON.stringify && window.postMessage && t.watchIframeWindow && t.watchIframeWindow.postMessage) {
                var n = JSON.stringify({
                    type: "adShowStatus",
                    uid: t.uid,
                    adViewStatus: t.viewContext.currAdViewStatus
                });
                t.watchIframeWindow.postMessage(n, "*")
            }
        },
        hr: function (t, n, i) {
            var e = t.boundingClientRect || {}, r = t.rootBounds || {};
            n.top = e.top, n.left = e.left, n.viewContext.opacity = i, n.viewContext.currAdViewStatus = !0, n.browserRegion = r.width + "," + r.height, n.ob = 1;
            var o = f.Jn(n);
            f.jn({url: o})
        }
    }
}, function (t, n, i) {
    var f = i(0), o = {};

    function u(t, n, i) {
        if ("string" == typeof t) return t;
        if (!t.type) return "";
        var e = o[t.type];
        if (!e) return "";
        var r = "string" == typeof e ? f._(e, t) : e(t, n);
        return i ? r : "<!DOCTYPE html><body>" + r
    }

    o.text = function (t) {
        var n = '<span style="word-wrap:break-word;"><a href="{clickUrl:string}" target="{target:string}" style="font-size:{size:number}{unit:string};color:{defaultColor:string};font-weight:{defaultBold:string};font-style:{defaultItalic:string};text-decoration:{defaultUnderline:string};"{events}>{text:string}</a></span>',
            i = /\{events\}/;
        if (1 === t.version) n = n.replace(i, ""); else if (2 === t.version) {
            n = n.replace(i, " onmouseover=\"this.style.color='{hoverColor:string}';this.style.fontWeight='{hoverBold:string}';this.style.fontStyle='{hoverItalic:string}';this.style.textDecoration='{hoverUnderline:string}';\" onmouseout=\"this.style.color='{defaultColor:string}';this.style.fontWeight='{defaultBold:string}';this.style.fontStyle='{defaultItalic:string}';this.style.textDecoration='{defaultUnderline:string}';\"");
            for (var e = ["default", "hover"], r = 0; r < e.length; r++) {
                var o = e[r], a = o + "Color", u = o + "Bold", c = o + "Italic", s = o + "Underline";
                t[a] = "#" + t[a], t[u] = t[u] ? "bold" : "normal", t[c] = t[c] ? "italic" : "normal", t[s] = t[s] ? "underline" : "none"
            }
        }
        return f._(n, t)
    }, o.image = '<a href="{clickUrl:string}" target="{target:string}"><img src="{src:string}" title="{title:html}" alt="{title:html}" border="0" height="{height:number}" width="{width:number}" /></a>', o.flash = function (t) {
        return t.file = t.hasLink ? "cflash" : "flash", t.imageClickUrl = t.clickUrl, t.hasLink || (t.clickUrl = ""), f._(["<script>", "var BD = BD || {};", "BD.MC = BD.MC || {};", "BD.MC.ADFlash = BD.MC.ADFlash || {};", "BD.MC.ADImg = BD.MC.ADImg || {};", "BD.MC.ADFlash.w = {width:number};", "BD.MC.ADFlash.h = {height:number};", 'BD.MC.ADFlash.mu = "{src:string}";', 'BD.MC.ADFlash.cu = "{clickUrl:string}";', "BD.MC.ADFlash.wm = {wmode:number};", 'BD.MC.ADFlash.ct = "{clickTag:string}";', "BD.MC.ADImg.w = {imageWidth:number};", "BD.MC.ADImg.h = {imageHeight:number};", 'BD.MC.ADImg.mu = "{imageSrc:string}";', 'BD.MC.ADImg.cu = "{imageClickUrl:string}";', 'BD.MC.ADImg.tw = "{target:string}";', "BD.MC.ADImg.flag = {backupImage:number};", "<\/script>", '<script src ="', '//cbjs.baidu.com/js/{file:string}.js">', "<\/script>"].join(""), t)
    }, o.rich = function (t) {
        return t.content
    }, o.slide = function (t, n) {
        for (var i = [], e = t.materials, r = 0; r < e.length; r++) {
            var o = e[r];
            "string" != typeof o && (o = u(o, n, !0)), i.push(o)
        }
        t.html = "<div>" + i.join("</div><div>") + "</div>";
        var a = n.response.placement.container;
        return t.width = n.width || a.width, t.height = n.height || a.height, f._('<div id="bd_ec_clb_asp" style="width:{width:number}px;height:{height:number}px;overflow:hidden;">{html:string}</div><script>(function(){var d = document;function G(id) { return d.getElementById(id); };var container = G("bd_ec_clb_asp");var pages = container.childNodes;var pl = 0;for (var i = 0; i < pages.length; i++) {if (pages[i].nodeType === 1) {pl++;}}var cp = 0;function showPage(pn) { pages[pn].style.display = ""; };function hidePages() {for (var i = 0; i < pl; i++) {pages[i].style.display = "none";}};function roll() {hidePages();showPage(cp);cp == (pages.length - 1) ? cp = 0 : cp++;};var autoRoll;function setRoll() { autoRoll = window.setInterval(function() { roll(); }, {interval:number});};roll();setRoll();container.onmouseover = function() { window.clearInterval(autoRoll); };container.onmouseout = function() {setRoll(); };})();<\/script>', t)
    }, t.exports = {Ti: u}
}, function (t, n) {
    t.exports = {
        Re: function (t) {
            var n = t.response;
            if (!n.painter) {
                var i = this.pr(t);
                if (i) return i
            }
            return this._r(t, n)
        }, pr: function (t) {
            var n = t.response.placement.userdefine || "", i = t.response.placement.encode_userdefine || "";
            i && "encoded" === i && (n = decodeURIComponent(n), t.response.placement.userdefine = n);
            for (var e = n.split("|") || [], r = {}, o = 0, a = e.length; o < a; o++) {
                var u = e[o].split("="), c = u[0];
                c && (r[c] = u[1])
            }
            if (r.hasOwnProperty("painter")) return r.painter;
            var s = t.styleOpenApi.tn || "", f = parseInt(t.styleOpenApi.xuanting || 0, 10);
            return 0 <= s.indexOf("mobile") && 0 < f ? "mobile.float" : 0 <= s.indexOf("mobile") ? "mobile.inlayFix" : 0 < f ? "dynamicFloat" : s && 0 < s.length && s.indexOf("_xuanfu") < 0 && s.indexOf("float") < 0 ? "inlayFix" : ""
        }, _r: function (t, n) {
            var i = this.wr(t);
            return this.mr(i, n) ? "ds.inlay" : this.gr(i, n) ? "mobile.float" : this.yr(n) ? "mobile.inlayFix" : this.br(n) ? "mobile.float" : this.xr(n) ? "mobile.insideText" : this.Ir(n) ? "inlayFix" : this.Ar(n) ? "insideText" : this.kr(n) ? "dynamicFloat" : this.Sr(n) ? "bottomSearchBar" : void 0
        }, wr: function (t) {
            return t.isAutoAd && t.isAnti && t.styleOpenApi && "string" == typeof t.styleOpenApi.painter && t.styleOpenApi.painter
        }, Sr: function (t) {
            var n = t.placement, i = n.container, e = n.fillstyle;
            return !(3 !== i.anchoredType || !i.slide || 9 !== e.btnStyleId)
        }, Ir: function (t) {
            var n = t.placement, i = n.basic, e = n.container, r = e.floated;
            return 1 === i.rspFormat && 1 === i.flowType && 1 === e.anchoredType && (!r || (1 === r.trigger || !this.Cr(r)))
        }, Cr: function (t) {
            for (var n in t) return !0;
            return !1
        }, kr: function (t) {
            var n = t.placement, i = n.basic, e = n.container, r = e.floated;
            return !(1 !== i.rspFormat || 1 !== i.flowType || 1 !== e.anchoredType || !r || 8 !== r.trigger)
        }, Ar: function (t) {
            var n = t.placement, i = n.basic, e = n.container;
            return 3 === i.rspFormat && 1 === i.flowType && 8 === e.occurrence && 11 === e.anchoredType
        }, yr: function (t) {
            var n = t.placement, i = n.basic, e = n.container;
            return 1 === i.rspFormat && 2 === i.flowType && 1 === e.anchoredType
        }, br: function (t) {
            var n = t.placement, i = n.basic, e = n.container;
            return 1 === i.rspFormat && 2 === i.flowType && (3 === e.anchoredType || 11 === e.anchoredType)
        }, xr: function (t) {
            var n = t.painter, i = t.placement, e = i.basic, r = i.container;
            return 3 === n || "mobile.insideText" === n || !n && 3 === e.rspFormat && 2 === e.flowType && 8 === r.occurrence && 11 === r.anchoredType
        }, mr: function (t, n) {
            var i = t || n.painter;
            return 1 === i || "mobile.inlayFix" === i || "inlayFix" === i
        }, gr: function (t, n) {
            var i = t || n.painter;
            return 2 === i || "mobile.float" === i
        }
    }
}, function (t, n, i) {
    var o = i(3), a = i(1), e = i(20), r = i(8), u = i(0);
    t.exports = {
        Tr: {
            BAIDU_CLB_fillSlot: !0,
            BAIDU_CLB_singleFillSlot: !0,
            BAIDU_CLB_fillSlotWithSize: !0,
            BAIDU_CLB_fillSlotAsync: !0
        }, Te: function () {
            var t;
            try {
                var n = window.BAIDU_CLB_SLOT_ID;
                for (var i in window.BAIDU_CLB_SLOT_ID = null, n && (t = o.en({
                    slotId: n,
                    productLine: "clb",
                    isAsync: !1
                }), o.on(t), o.fn()), this.Tr) r.gi(i, this.Dr);
                this.Er()
            } catch (e) {
            }
        }, Or: function () {
        }, Dr: function (t, n) {
            var i;
            t && ((i = o.en({
                slotId: t,
                productLine: "clb",
                isAsync: !!n
            })).containerId = n || i.containerId, o.on(i), o.fn())
        }, Er: function () {
            try {
                r.gi("BAIDU_CLB_prepareMoveSlot", this.Pr), r.gi("BAIDU_CLB_setConfig", u.O(r, r.bi)), r.gi("BAIDU_CLB_addOrientation", u.O(e, e.Xe)), r.gi("BAIDU_CLB_addSlot", this.Or), r.gi("BAIDU_CLB_enableAllSlots", this.Or), r.gi("BAIDU_CLB_preloadSlots", this.Or), r.gi("BAIDU_DUP_addSlotStatusCallback", this.Or)
            } catch (t) {
            }
        }, Pr: function (t) {
            try {
                for (var n = 0, i = t + "_" + n; o.nn(i) && 0 !== o.nn(i)[0];) {
                    var e = o.nn(i);
                    o.un(e, a.K), i = t + "_" + ++n
                }
            } catch (r) {
            }
        }
    }
}, function (t, n, i) {
    var c = i(3);
    t.exports = {
        Te: function () {
            var t, n = window.cpro_id;
            window.cpro_id = null, n && (t = c.en({slotId: n, productLine: "union", isAsync: !1}), c.on(t));
            var i, e, r = window.cproArray;
            if (window.cproArray = null, r) for (i = 0, e = r.length; i < e; i++) t = c.en({
                slotId: r[i].id,
                productLine: "union",
                isAsync: !0
            }), c.on(t);
            var o = window.cpro_mobile_slot;
            if (window.cpro_mobile_slot = null, o) for (i = 0, e = o.length; i < e; i++) {
                var a = o[i];
                for (var u in (t = c.en({
                    slotId: a.id,
                    productLine: "union",
                    isAsync: !0
                })).styleOpenApi = t.styleOpenApi || {}, a) u && a[u] && a.hasOwnProperty(u) && (t.styleOpenApi[u] = a[u]);
                c.on(t)
            }
            c.fn()
        }
    }
}, function (t, n, i) {
    var u = i(3);
    t.exports = {
        Te: function () {
            this.delieveryObjArray = this.delieveryObjArray || [], window.BAIDU_DUP = window.BAIDU_DUP || [], window.BAIDU_DUP && window.BAIDU_DUP instanceof Array && (this.delieveryObjArray = this.delieveryObjArray.concat(window.BAIDU_DUP), window.BAIDU_DUP = []), this.Er(), this.fn()
        }, Er: function () {
            window.BAIDU_DUP = this, window.BAIDU_DUP.load = !0
        }, fn: function () {
            for (var t, n = 0, i = this.delieveryObjArray.length; n < i; n++) {
                var e = this.delieveryObjArray[n];
                if (e instanceof Array && 2 <= e.length) {
                    var r = e[0], o = e[1], a = e[2];
                    if ("fill" !== r && "fillAsync" !== r || !o) continue;
                    (t = u.en({
                        slotId: o,
                        productLine: "dup",
                        isAsync: "fillAsync" === r
                    })).containerId = a || t.containerId, u.on(t)
                }
            }
            this.delieveryObjArray = [], u.fn()
        }, push: function (t) {
            this.delieveryObjArray = this.delieveryObjArray && [], this.delieveryObjArray.push(t), this.fn()
        }
    }
}, function (t, n, i) {
    var u = i(3), c = i(21), o = i(20), a = i(0), s = i(4), f = i(13), d = i(1);
    t.exports = {
        Te: function () {
            this.delieveryObjArray = this.delieveryObjArray || [], window.slotbydup = window.slotbydup || [], window.slotbydup && window.slotbydup instanceof Array && (this.delieveryObjArray = this.delieveryObjArray.concat(window.slotbydup), window.slotbydup = []), s.slotbyds = s.slotbyds || [], s.slotbyds instanceof Array && s.domainInfo.dup && (this.delieveryObjArray = this.delieveryObjArray.concat(s.slotbyds), s.slotbyds = []), this.Er(), 0 < this.delieveryObjArray.length && this.fn()
        }, fn: function () {
            for (var t, n = 0, i = this.delieveryObjArray.length; n < i; n++) {
                var e = this.delieveryObjArray[n];
                if (s.domainInfo.dup || !e.isAnti) if (e.hasOwnProperty("id")) {
                    var r = e.isRelateRecomAd && e.title,
                        o = e.hasOwnProperty("isAsync") && e.isAsync || e.hasOwnProperty("async") && e.async || r,
                        a = e.hasOwnProperty("coa") && e.coa;
                    t = u.en({
                        slotId: e.id,
                        isAsync: o,
                        coa: a
                    }), c.tr(t, e), t.containerId = e.container || t.containerId, t.display = e.display, t.ftpc = e.ftpc || !1, t.pcwd = e.pcwd || "", t.pchd = e.pchd || "", t.exps = e.exps || "", t.isAutoAd = e.isAutoAd || !1, t.isAnti = e.isAnti || "", r && (t.title = e.title), t.productLine = "adcodexv" === e.productLine || "adcodexr" === e.productLine ? e.productLine : "adcodex", u.on(t)
                } else this.Mr(e); else (s.slotbyds = s.slotbyds || []).push(e)
            }
            this.delieveryObjArray = [], u.fn()
        }, Er: function () {
            window.slotbydup = this, window.slotbydup.load = !0
        }, push: function () {
            this.delieveryObjArray = this.delieveryObjArray && [], Array.prototype.push.apply(this.delieveryObjArray, arguments), this.fn()
        }, Mr: function (t) {
            var n = t.addOrientation;
            for (var i in n && a.I(n) && o.Xe.apply(o, n), d.mt) if (d.mt.hasOwnProperty(i)) {
                var e = d.mt[i], r = t[e];
                a.A(r) && f.ne(e, r)
            }
        }
    }
}, function (t, n, i) {
    var a = i(1), e = i(2), o = i(0), u = i(5), r = i(4), c = i(3), s = i(10), f = i(21);
    window.__delivery_global_ = window.__delivery_global_ || {};
    var d = window.__delivery_global_;
    t.exports = {
        Te: function () {
            d.dupApi = d.dupApi || [], d.api = d.api || [];
            var t = [], n = d.dupApi, i = d.api;
            o.I(n) && (t = t.concat(n)), o.I(i) && (t = t.concat(i)), d.dupApi = d.api = this;
            for (var e = 0, r = t.length; e < r; e++) this.push(t[e])
        }, push: function (t) {
            try {
                var n = t.container;
                if (!document.getElementById(n)) return !1;
                var i = t.apiInfo, e = i && i.coa || {}, r = c.en({slotId: t.id, isAsync: !0, coa: e});
                f.tr(r, i), r.isDsFlow = !0, r.productLine = "asdv" === t.productLine || "asdr" === t.productLine ? t.productLine : "asd", r.proxy = t.proxy, r.exps = t.exps, r.containerId = n, c.on(r), r.response = t.adInfo, r.response.painter = e.painter || r.response.painter, r.containerInfo = r.response.placement.container || {}, r.paramObj = s.Bi(r), r.paramObj.dtm = a.H, c.processSlot(r), this.fn(r)
            } catch (o) {
                u.Ht(a.ct, o)
            }
        }, fn: function (t) {
            !r._n && window.postMessage && (r._n = !0, e.Ut(window, "message", o.O(c, c.wn))), t && c.sn(t.id, a.J), i(17).Pe(t)
        }
    }
}, function (t, n, i) {
    var x = i(1), I = i(2), o = i(5), A = i(0), e = i(6), a = i(14), k = i(4), r = i(3), u = i(10), S = i(11),
        c = i(15), C = i(43), T = "", D = "", s = 0, f = "";
    t.exports = {
        Te: function () {
            try {
                if (this.Ur()) {
                    var t = this.Rr();
                    this.Br(t)
                }
            } catch (n) {
                o.Ht(x.ut, n, {pos: "autoAds"})
            }
        }, Ur: function () {
            return !1 !== window.BAIDU_DUP_AUTO_AD && (!k.expId && !I.Et(window) && (k.expId = "110011", !0))
        }, Nr: function (t) {
            T = decodeURIComponent(t), k.isAutoOpPage = window.BAIDU_DUP_AUTO_AD;
            var n = a.Gt(x.et);
            if (n) {
                var i = n.split("|");
                if (0 < i.length) for (var e = "", r = 0; r < i.length; r++) if ((e = decodeURIComponent(i[r])) && 0 <= T.indexOf(e)) {
                    D = e, k.isAutoOpPage = !0;
                    break
                }
            }
        }, Rr: function () {
            return r.en({slotId: x.$, isAsync: !0})
        }, Br: function (t) {
            t.paramObj = u.gn(t), this.Nr(t.paramObj.ltu), t.paramObj.dcb = x.M, t.paramObj.dtm = x.Q, t.paramObj.dc = x.Z;
            var n = this.Lr() ? 1 : 0, i = c.rn(t.domainInfo.pos), e = u.yn(t.paramObj, n, i);
            f = x.U + x.L + x.tt + "?" + e, 1 == n && i && (f = x.U + "//" + k.domainInfo.pos + "/" + x.nt + "?" + e), I.Mt(A.O(this, this.Fr, f))
        }, Fr: function (t) {
            I.Lt(t);
            var n = this;
            setTimeout(function () {
                k.autoBack = !0, k.restSlotInfo && !A.f(k.restSlotInfo) && n.jr()
            }, x.rt)
        }, De: function (t, n, i, e) {
            try {
                k.autoBack && this.Hr(i), k.autoBack = !0, n instanceof Array && document.querySelector ? this.zr(n, i, e) : this.jr(), k.isAutoOpPage && !i && this.Wr()
            } catch (r) {
                o.Ht(x.ut, r, {pos: "autoDupCallback"})
            }
        }, Wr: function () {
            D && a.zn(x.et, D, !0)
        }, Vr: function (t, n, i) {
            return t && A.k(n) && i
        }, qr: function (t, n, i) {
            var e = 0, r = 0, o = {autoAds: [], pageAdId: i};
            if (!A.I(t) || t.length <= 0) return n && (o.pageAdId = S.Ji(o.pageAdId, x.at)), o;
            var a = C.Jr(t, n), u = C.Gr(a, T);
            if ((t = u.autoAds).length <= 0) return o;
            u.subPattern && (D = u.subPattern);
            for (var c = C.Xr(t), s = C.Kr(c), f = s.autoAds, d = s.modelNum, l = this.Yr(d, i, f.length, n), h = k.restSlotInfo, v = 0; v < f.length; v++) {
                r++;
                var p = f[v], _ = p.tuid, w = p.placement, m = A.b(w.position) || null, g = p.opType, y = I.Yt(m);
                if (this.$r(l[d], _, v, g, !0), this.Vr(_, w, y)) {
                    var b = _ + "_" + (p.index || "");
                    "delete" !== g ? (p.exps = S.Gi([i, p.exps, d, x.ot]), p.autoAddCount = ++e, p.autoAddIndex = r, p.container = y, o.autoAds.push(p)) : (r--, A.k(h) && h[b] && delete k.restSlotInfo[b])
                } else "delete" === g && r--, this.$r(l[d], _, v, g, !1, m)
            }
            return l && this.Qr(d, l), o.pageAdId = S.Gi([i, d, x.ot]), o
        }, zr: function (t, n, i) {
            if (A.C(n) && !(n.length <= 0)) {
                a.Hn(x.et, n, !0);
                var e = this.qr(t, n, i);
                t = e.autoAds, i = e.pageAdId, k.isAutoOpPage && this.jr(i), s = t.length;
                for (var r = 0; r < s; r++) this.Zr(t[r])
            }
        }, Zr: function (t) {
            var n = t.placement.processor, i = I.$t(n, t.container), e = i.targetInsertPoint, r = i.container;
            this.to(e, r, t)
        }, to: function (t, n, i) {
            if (!n) return this.jr(), !1;
            var e = document.createElement("div");
            e.id = "_" + Math.random().toString(36).slice(2), -1 < T.indexOf(x.ft) && e.setAttribute("autoaddindex", i.autoAddIndex);
            for (var r = this.no(e.id, i, e), o = 0; o < r.length; o++) e.appendChild(r[o]);
            n.insertBefore(e, t)
        }, no: function (t, n) {
            var i = this.io(n.tuid, t, n);
            return this.eo(i)
        }, eo: function (t) {
            var n = document.createElement("script");
            return n.text = A.h('(window.slotbydup = window.slotbydup || []).push({ id:"{tuid}", container:"{containerId}", exps:"{exps}", isAutoAd:true, coa:{coa}, isAnti:{isAnti}});', t), [n]
        }, io: function (t, n, i) {
            var e = i.userdefine;
            return e.aati = i.autoAddCount || 0, e = window.JSON && window.JSON.stringify && A.k(e) && JSON.stringify(e), {
                tuid: t,
                containerId: n,
                exps: S.Ji(x.it, i.exps),
                coa: e || "{}",
                isAnti: this.Lr(),
                token: i.token
            }
        }, Lr: function () {
            return !(!k.domainInfo.dup || !k.domainInfo.pos || (A.k(window[x.lt]) || "unblock" === window[x.lt]) && 0 === a.Nn("isblock").value)
        }, jr: function (t) {
            i(17).Pe(null, t)
        }, Hr: function (t) {
            var n = D || t;
            if (n) {
                var i = {pattern: encodeURIComponent(n), url: encodeURIComponent(T), autoReq: encodeURIComponent(f)};
                o.Vn("autoTimeOut", i)
            }
        }, Yr: function (t, n, i, e) {
            var r = {pattern: encodeURIComponent(D || e)};
            return r[t] = {result: "", all: i, success: i}, n && (r.pageExp = n), r
        }, $r: function (t, n, i, e, r, o) {
            var a = {opType: e, success: r};
            r || (a.selector = o, t.success--), t[n + "_" + i] = a
        }, Qr: function (t, n) {
            n.url = encodeURIComponent(T);
            var i = n[t];
            i.result = i.all + "_" + i.success + "_" + (i.all - i.success), delete i.all, delete i.success;
            var e = encodeURIComponent(A.y(i));
            n[t] = e, o.Vn("autoInfo", n)
        }, Be: function (t, n) {
            return !e.baiduboxapp || (!t.isAutoAd || n.indexOf("float") < 0 && !u.qi(t))
        }
    }
}, function (t, n, i) {
    var r = i(1), o = i(14), a = i(11);
    t.exports = {
        ro: function (t) {
            var n = {modelNum: t || "0"};
            if (t && 0 <= t.indexOf("|")) {
                var i = t.split("|");
                n.modelNum = Number(i[0]) || "0";
                var e = i[1];
                e && (n.subPattern = e, o.Hn(r.et, e, !0))
            }
            return n
        }, Xr: function (t) {
            for (var n = {keys: []}, i = "0", e = 0; e < t.length; e++) n[i = (t[e].placement || {}).model || "0"] ? n[i].push(t[e]) : (n[i] = [t[e]], n.keys.push(i));
            return n
        }, Jr: function (t, n) {
            for (var i = {keys: [], patternInfoArr: []}, e = "", r = n, o = 0; o < t.length; o++) {
                r = ((e = t[o]).placement || {}).subPattern || n;
                var a = i.keys.indexOf(r);
                a < 0 ? (i.keys.push(r), i.patternInfoArr[i.keys.length - 1] = [e]) : i.patternInfoArr[a].push(e)
            }
            return i
        }, Kr: function (t) {
            var n = t.keys, i = n.length, e = n[a.Ki(i)];
            return {autoAds: t[e] || [], modelNum: e}
        }, Gr: function (t, n) {
            for (var i = {
                subPattern: "",
                autoAds: []
            }, e = t.keys, r = "", o = -1, a = 0; a < e.length; a++) 0 <= n.indexOf(e[a]) && e[a].length > r.length && (r = e[a], o = a);
            return i.subPattern = r, i.autoAds = t.patternInfoArr[o] || [], i
        }
    }
}, function (t, n, i) {
    var a = i(0), u = {};
    t.exports = {
        je: function (t, n, i) {
            if (n) {
                var e = document.createElement("script");
                e.type = "text/javascript", e.async = !0, e.src = n;
                var r = a.O(this, this.oo, t, e);
                e.onload = e.onerror = e.onreadystatechange = r;
                var o = document.getElementsByTagName("script")[0];
                o.parentNode.insertBefore(e, o), u[t] = i
            }
        }, oo: function (t, n, i) {
            i = 3 === arguments.length ? (n = n, i) : n = t;
            var e = u[n];
            i && /loaded|complete|undefined/.test(i.readyState) && (i.onload = i.onerror = i.onreadystatechange = null, i = undefined, e && e())
        }
    }
}, function (t, n, i) {
    var a = i(1), u = i(2), c = i(3), s = i(12), f = i(9), d = i(18), l = i(46), e = i(13), h = i(0), r = i(6),
        v = !r.ie || 8 <= r.ie;
    t.exports = {
        ao: function (i) {
            var t = u.kt(i);
            t && e.Ut(t, "mouseover", function (t) {
                var n = t.target || t.srcElement;
                "iframe" !== n.tagName.toLowerCase() && "iframe" !== n.nodeName.toLowerCase() || l.uo("mouseover", i.id)
            })
        }, co: function (t, n) {
            0 === n.complementType && (t.style.width = n.width + "px", t.style.height = n.height + "px", t.style.display = "inline-block")
        }, render: function (t) {
            c.sn(t.id, a.X);
            var n = u.kt(t);
            if (!c.Pn(t) || !n) return c.sn(t.id, a.K), !1;
            var i = t.containerInfo.slide, e = i && !h.f(i) && v;
            if (e && (l.dr(t), this.ao(t)), d.jn(t), f.renderRichMaterial(t)) v && setTimeout(function () {
                l.uo("adloaded", t.id)
            }, 800); else {
                var r = c.processSlotInfo(t);
                t.width = r.width, t.height = r.height, this.co(n, t);
                var o = s.getFrameHTML(t);
                n.innerHTML = o, t.isPdbAd || c.sn(t.id, a.K), e && setTimeout(function () {
                    l.uo("adloaded", t.id)
                }, 800)
            }
        }
    }
}, function (t, n, i) {
    var v = i(2), r = i(13), p = i(3), _ = {}, w = {}, e = !1, c = {up: {}, down: {}, left: {}, right: {}};
    t.exports = {
        vr: function (t, n) {
            var i = p.nn(t), e = v.kt(i);
            if (e) {
                var r = e.getElementsByTagName("iframe")[0];
                n = JSON.stringify(n), r.contentWindow.postMessage(n, "*")
            }
        }, so: function (t) {
            return window.getComputedStyle ? window.getComputedStyle(t).width : t.currentStyle.width
        }, fo: function () {
            var i = this;
            (window.addEventListener || window.attachEvent) && JSON && JSON.parse && r.Ut(window, "message", function e(t) {
                if ("string" != typeof t.data) return !1;
                var n = JSON.parse(t.data);
                if (!n.title || "baidudup" !== n.title) return !1;
                if ("invokeMethod" === n.type) switch (n.method) {
                    case"expand":
                        i["do"](n.parameters[0]);
                        break;
                    case"close":
                        i.lo(n.parameters[0])
                }
            }), r.Ut(window, "scroll", function () {
                i.ho()
            }), r.Ut(window, "resize", function () {
                i.ho()
            })
        }, ho: function () {
            var t = c;
            for (var n in t) for (var i in t[n]) {
                var e = t[n][i];
                if (!e.isExpand) return;
                var r, o = e.origin, a = o.getElementsByTagName("iframe")[0], u = e.originWidth;
                switch (n) {
                    case"up":
                    case"down":
                        r = parseInt(this.so(o), 10), a.style.left = 0;
                        break;
                    case"left":
                        r = parseInt(this.so(o), 10), a.style.right = r - u + "px";
                        break;
                    case"right":
                        r = parseInt(this.so(o), 10), a.style.left = 0
                }
            }
        }, vo: function (t, n, i, e, r, o, a) {
            if (!c[t][n]) {
                var u = c[t][n] = {};
                u.isExpand = !0, u.origin = i, u.originWidth = e, u.originHeight = r, u.targetWidth = o, u.targetHeight = a
            }
        }, po: function (t, n, i, e, r, o) {
            this.vo("up", t, n, i, e, r, o);
            var a = n.getElementsByTagName("iframe")[0];
            a.style.bottom = 0, a.style.left = 0
        }, _o: function (t, n, i, e, r, o) {
            this.vo("down", t, n, i, e, r, o);
            var a = n.getElementsByTagName("iframe")[0];
            a.style.top = 0, a.style.left = 0
        }, wo: function (t, n, i, e, r, o) {
            this.vo("left", t, n, i, e, r, o);
            var a = n.getElementsByTagName("iframe")[0], u = parseInt(this.so(n), 10);
            a.style.bottom = 0, a.style.right = u - i + "px"
        }, mo: function (t, n, i, e, r, o) {
            this.vo("right", t, n, i, e, r, o);
            var a = n.getElementsByTagName("iframe")[0];
            a.style.bottom = 0, a.style.left = 0
        }, "do": function (t) {
            if (!_[t]) {
                _[t] = !0;
                var n = p["in"](t), i = n.containerInfo, e = i.width, r = i.height, o = i.slide, a = o.slideWidth,
                    u = o.slideHeight, c = 1e3 * parseInt(o.extendTime, 10), s = parseInt(o.slideMode, 10),
                    f = parseInt(o.direction, 10), d = v.kt(n);
                if (d) {
                    var l = d.getElementsByTagName("iframe")[0];
                    if (1 === f || 2 === f ? (l.setAttribute("height", u), l.style.height = u + "px") : 3 !== f && 4 !== f || (l.setAttribute("width", a), l.style.width = a + "px"), 2 === s && 2 === f || 2 === s && 4 === f) switch (f) {
                        case 2:
                            l.setAttribute("height", u), l.style.height = u + "px";
                            break;
                        case 4:
                            l.setAttribute("width", a), l.style.width = a + "px"
                    } else switch (d.style.position = "relative", l.style.position = "absolute", d.style.height = r + "px", f) {
                        case 1:
                            this.po(t, d, e, r, a, u);
                            break;
                        case 2:
                            this._o(t, d, e, r, a, u);
                            break;
                        case 3:
                            this.wo(t, d, e, r, a, u);
                            break;
                        case 4:
                            this.mo(t, d, e, r, a, u)
                    }
                    var h = this;
                    w[t] = setTimeout(function () {
                        _[t] && h.lo(t)
                    }, Math.min(c))
                }
            }
        }, lo: function (t) {
            if (_[t]) {
                _[t] = !1, clearTimeout(w[t]);
                var n = p["in"](t), i = n.containerInfo.width, e = n.containerInfo.height, r = v.kt(n);
                if (r) {
                    var o = r.getElementsByTagName("iframe")[0];
                    for (var a in r.style.position = "", r.style.width = "", r.style.height = "", r.style.top = "", r.style.left = "", o.style.position = "", o.style.display = "", o.style.top = "", o.style.left = "", o.style.right = "", o.style.width = "", o.style.height = "", o.setAttribute("height", e), o.setAttribute("width", i), c) for (var u in c[a]) u === t && (c[a][u].isExpand = !1)
                }
            }
        }, dr: function (t) {
            t = p["in"](t.slotId);
            var n = v.kt(t);
            n && (n.style.textAlign = "left", e || (e = !0, this.fo()))
        }, uo: function (t, n) {
            var i, e = p["in"](n).containerInfo.slide;
            e && (i = e.trigger);
            var r, o = 0;
            r = i, "[object Array]" === Object.prototype.toString.call(r) ? o = i[0] : i && (o = i);
            ["", "BEFORE_PAGELOAD", "AFTER_PAGECLOSE", "PAGE_PERCENT", "mouseover", "click", "adloaded", "SLIP"][o] === t && this.vr(n, {
                title: "baidudup",
                type: "eventHappen",
                parameters: [t]
            })
        }
    }
}, function (t, n, i) {
    var c = i(1), e = i(0), s = i(2), f = i(3), d = i(18), l = i(12), h = i(9);
    t.exports = {
        go: function (t, n) {
            var i = ['<div style="box-sizing: content-box;position:relative;' + (n.isAutoAd ? "clear:both;" : "") + (n.isAutoAd ? "text-indent:0;" : "") + 'margin:0 auto;">', "{iframeHtml}", "</div>"].join("");
            return e.h(i, t)
        }, co: function (t, n) {
            0 === n.complementType && (t.style.width = n.width + "px", t.style.height = n.height + "px", t.style.display = "inline-block")
        }, render: function (t) {
            f.sn(t.id, c.X);
            var n = s.kt(t);
            if (!f.Pn(t) || !n) return !1;
            if (d.jn(t), !h.renderRichMaterial(t)) {
                var i = f.processSlotInfo(t);
                if (t.width = i.width, t.height = i.height, 2 === i.sizeType || 5 === i.sizeType) {
                    var e = t.response.pdb_deliv.deliv_des;
                    if (e && e._html) {
                        var r = (e = e._html).type;
                        "text" !== r && "image" !== r && "flash" !== r || (e.width = t.width, e.height = t.height)
                    }
                }
                this.co(n, t);
                var o = l.getFrameHTML(t), a = {id: t.id, width: i.width, height: i.height, iframeHtml: o},
                    u = this.go(a, t);
                u = 1 === t.proxy ? s.zt(n, u) : u, n.innerHTML = u, t.isPdbAd || f.sn(t.id, c.K)
            }
        }
    }
}, function (t, n, i) {
    var s = i(1), h = i(0), r = i(7), f = i(2), v = i(3), d = i(12), l = i(18), p = i(9);
    t.exports = {
        yo: "show",
        bo: "upSlideShow",
        xo: "downSlideShow",
        Io: 2,
        Ao: 1,
        ko: String.fromCharCode(65088),
        So: String.fromCharCode(65087),
        Co: function (t, n) {
            var i = !1, e = t.containerInfo.location, r = t.styleOpenApi, o = 2 === r.apType;
            if (2 === e && !o) return !1;
            (1 !== n.sizeType || r.rsi0 || r.rsi1 || r.cpro_w || r.cpro_h) && (i = 3.4 < n.width / n.height);
            return i
        },
        To: function (t) {
            var n = t.containerInfo, i = t.styleOpenApi, e = t.response.placement.fillstyle || {},
                r = e.opacity || i.opacity, o = h.S(r) || h.C(r) ? parseFloat(r) : .9, a = e.backgroundColor || "#000",
                u = i.borderWidth, c = h.S(u) || h.C(u) ? parseInt(u, 10) : 2, s = i.btnOpacity,
                f = h.S(s) || h.C(s) ? parseFloat(s) : "inherit";
            i.sizeType && (i.sizeType = 2), n.sizeType = 2;
            var d = v.processSlotInfo(t);
            d.backgroundOpacity = o, d.backgroundColor = a, d.borderWidth = c, d.btnOpacity = f;
            var l = 2 === n.location ? 2 : 3;
            return d.locationType = l, d.containerId = t.containerId, d.floatingState = this.Do(t, l), d
        },
        go: function (t) {
            var n = ["{closeBtnHtml}", "{iframeHtml}"].join("");
            return h.h(n, t)
        },
        Eo: function (t) {
            var n = "", i = "", e = "0", r = 0;
            return r = 2 === t.locationType ? (n = "0 0 40px 40px", e = t.height, i = t.floatingState === this.yo ? this.So : this.ko, this.Ao) : (n = "40px 40px 0 0", e = -20, i = t.floatingState === this.yo ? this.ko : this.So, this.Io), {
                domId: t.containerId,
                borderRadius: n,
                top: e,
                btnTag: i,
                lineHeight: r,
                btnOpacity: t.btnOpacity
            }
        },
        Oo: function (t) {
            var n = ["<div", ' class="closeBtn"', ' style="', "position:absolute;", "left:50%;", "top:{top}px;", "margin-left: -20px;", "width:40px;", "height:20px;", "background-color:#4a4a4a;", "cursor:pointer;", "border-radius:{borderRadius};", "z-index:2147483647;", "color:#ffffff;", "font-weight:600;", "box-sizing:border-box;", "font-size:14px;", "font-family:'Microsoft Yahei',sans-serif;", "opacity:{btnOpacity};", 'line-height:{lineHeight};">', "{btnTag}", "</div>"].join(""),
                i = this.Eo(t);
            return h.h(n, i)
        },
        co: function (t, n) {
            var i = 0;
            n.floatingState !== this.yo && "ontouchend" in document && 0 < n.height && (i = -1 * (n.height + 20));
            var e = 2 === n.locationType ? "top" : "bottom", r = 2 === n.locationType ? "border-bottom" : "border-top";
            t.style.cssText = ["box-sizing: content-box;", "display:block", "position:fixed", "z-index:2147483647;", "left:0", e + ":" + i + "px", "background-color:" + n.backgroundColor, "opacity:" + n.backgroundOpacity, "text-align:center", "width:" + n.width + "px", "height:" + n.height + "px", r + ":" + n.borderWidth + "px solid #4a4a4a"].join(";")
        },
        Po: function (t, n, i, e) {
            var r = 2 === n.locationType ? "top" : "bottom";
            "hidden" === i.getAttribute("state") ? this.Mo(r, i, e) : this.Uo(r, i, e)
        },
        Mo: function (t, n, i) {
            n.setAttribute("state", "show"), n.style.transition = t + " 0.75s", n.style["-webkit-transition"] = t + " 0.75s", n.style["-moz-transition"] = t + " 0.75s", n.style["-o-transition"] = t + " 0.75s", n.style[t] = "0px", "top" === t ? (i.style.lineHeight = this.Ao, i.innerText = this.So) : (i.style.lineHeight = this.Io, i.innerText = this.ko)
        },
        Uo: function (t, n, i) {
            n.setAttribute("state", "hidden");
            var e = r.Zn(n, "height");
            e = e && parseInt(e, 10), n.style.transition = t + " 0.75s", n.style["-webkit-transition"] = t + " 0.75s", n.style["-moz-transition"] = t + " 0.75s", n.style["-o-transition"] = t + " 0.75s", n.style[t] = -1 * e + "px", "top" === t ? (i.style.lineHeight = this.Io, i.innerText = this.ko) : (i.style.lineHeight = this.Ao, i.innerText = this.So)
        },
        render: function (t) {
            if (!v.Pn(t)) return !1;
            v.sn(t.id, s.X), this.id = t.id;
            var n = this.To(t);
            l.jn(t);
            var i = p.renderRichMaterial(t), e = f.kt(t);
            if (!i && e && this.Co(t, n)) {
                this.co(e, n);
                var r = this.Oo(n);
                this.Ro(n, t);
                var o = {closeBtnHtml: r, iframeHtml: d.getFrameHTML(t)}, a = this.go(o);
                e.innerHTML = a;
                var u = e.getElementsByClassName("closeBtn")[0];
                if (u) {
                    var c = this;
                    f.Ut(u, "click", function () {
                        c.Po(t, n, e, this)
                    })
                }
                t.isPdbAd || v.sn(t.id, s.K)
            }
        },
        qe: function (t, n, i) {
            var e = i.parentElement;
            if (document.body && e) {
                var r = e.getElementsByClassName("closeBtn")[0];
                t = "2" === t ? "top" : "bottom", f.Ut(document.body, "touchstart", h.O(this, this.Bo)), f.Ut(document.body, "touchend", h.O(this, this.No, e, r, t, n))
            }
        },
        Bo: function (t) {
            this.startY = t.targetTouches[0] && t.targetTouches[0].pageY
        },
        No: function (t, n, i, e, r) {
            this[e] = this[e] || !1, this.pageY = t.changedTouches[0] && t.changedTouches[0].pageY;
            var o = this.pageY - this.startY;
            (o < -10 && !this[e] && r === this.bo || 10 < o && !this[e] && r === this.xo) && (this[e] = !0, this.Mo(e, n, i))
        },
        Do: function (t, n) {
            return t.styleOpenApi && t.styleOpenApi.floatingState ? t.styleOpenApi.floatingState : 2 === n ? this.bo : this.yo
        },
        Ro: function (t, n) {
            if (2 === t.sizeType) {
                var i = n.response.pdb_deliv.deliv_des;
                if (i && i._html) {
                    var e = (i = i._html).type;
                    "text" !== e && "image" !== e && "flash" !== e || (i.width = n.width, i.height = n.height)
                }
            }
        }
    }
}, function (t, n, i) {
    var r = i(1), o = i(0), a = i(2), e = i(3), u = i(10), c = i(8), s = i(6), f = i(18);
    t.exports = {
        Lo: {}, Fo: 0, jo: "BAIDU_DUP_MOBILE_INSIDE_TEXT_", Ho: 40, zo: 3, Wo: 0, Vo: {}, render: function (t) {
            e.sn(t.id, r.X), f.jn(t);
            var n = a.kt(t);
            if (n) {
                c.gi(this.jo, o.O(this, this.qo));
                var i = this.Jo(n);
                i && ("complete" === document.readyState ? (this.Go(t, n), this.Xo(i)) : a.Ut(document, "readystatechange", o.O(this, function () {
                    "complete" === document.readyState && (this.Go(t, n), this.Xo(i))
                })), e.sn(t.id, r.K))
            }
        }, Jo: function (t) {
            var n = t.parentNode;
            return n.tagName && "body" === n.tagName.toLowerCase() ? n : this.Jo(n)
        }, Go: function (t, n) {
            t.paramObj.dcb = this.jo, t.paramObj.dtm = r.W, t.paramObj.cec = "utf-8";
            var i = u.getPmpRequestUrl(t), e = document.createElement("script");
            e.src = i, e.charset = t.paramObj.cec, n.appendChild(e)
        }, Xo: function (t) {
            for (var n = t.childNodes, i = 0; i < n.length; i++) {
                var e = n[i];
                if (a.Ft(e)) switch (e.nodeType) {
                    case 3:
                        var r;
                        s.ie < 9 && e.nodeValue && (r = e.nodeValue), e.textContent && (r = e.textContent), r && o.b(r) && 0 < r.length && this.Ko(e);
                        break;
                    default:
                        this.Xo(e)
                }
            }
        }, Ko: function (t) {
            var n = t.parentNode;
            n.innerHTML && (this.Lo["item_" + this.Fo] = n, this.Fo++)
        }, qo: function () {
            var t = arguments[0] && arguments[0].slots[0] && arguments[0].slots[0].ads[0];
            if (t) {
                var n = t.data && t.data.meta;
                if (n && 0 !== n.length) for (var i in this.Lo) {
                    var e = this.Lo[i];
                    if (document.contains(e)) {
                        for (var r = e.innerHTML, o = 0; o < n.length; o++) r = this.Yo(n[o], r);
                        if (e.innerHTML = r, this.Wo === this.Ho) break
                    }
                }
            }
        }, Yo: function (t, n) {
            if (!t || !n) return n;
            var i = t.title, e = new RegExp(i, "i");
            if (i && 0 < i.length && e.test(n) && this.$o(i, n) && this.Qo(i, n)) {
                var r = '<a href="' + (t.curl || "") + '" target="_blank" style="color:#38f;text-decoration:none">' + i + "</a>";
                if (this.Vo[i] || (this.Vo[i] = 0), this.Wo < this.Ho && this.Vo[i] < this.zo) return this.Wo++, this.Vo[i]++, n.replace(e, r)
            }
            return n
        }, $o: function (t, n) {
            var i = n.indexOf(t), e = i - 4, r = i + t.length, o = "</a>" === n.substr(e, 4),
                a = "<a " === n.substr(r, 3);
            return !o && !a
        }, Qo: function (t, n) {
            var i = new RegExp("<[^>]*" + t + "[^<]*>", "i"), e = new RegExp(">[^<]*" + t + "[^>]*</", "i");
            return !i.test(n) && !e.test(n)
        }
    }
}, function (t, n, i) {
    var u = i(1), c = i(0), s = i(2), f = i(3), d = i(12);
    t.exports = {
        render: function (t) {
            f.sn(t.id, u.X);
            var n = s.kt(t);
            if (n) {
                var i = f.processSlotInfo(t);
                t.width = i.width, t.height = i.height;
                var e = this.Zo(t), r = d.Oi(t), o = c.h(e, r), a = s.zt(n, o);
                n.innerHTML = a, f.sn(t.id, u.K)
            }
        }, Zo: function (t) {
            return '<iframe width="{iframeWidth}" frameborder="0" height="{iframeHeight}" scrolling="no" src="{url}"' + (t.isAutoAd ? ' style="clear:both;"' : "") + (t.isAutoAd ? "text-indent:0;" : "") + "></iframe>"
        }
    }
}, function (t, n, i) {
    var m = i(1), g = i(2), y = i(3), c = i(52);
    t.exports = {
        ta: function (t) {
            var n = t.containerInfo, i = t.width || n.width;
            if (g.Et(window)) return !1;
            var e = parseInt(i || 0, 10);
            return (e = 4095 < e ? 4095 : e) < window.screen.width
        }, na: function (t, n, i) {
            var e = 10, r = 10;
            return t.vspace || 0 === t.vspace ? e = t.vspace : n.vspace || 0 === n.vspace ? e = n.vspace : "button" === i ? e = 40 : "couplet" === i && (e = 150), t.hspace || 0 === t.hspace ? r = t.hspace : !n.hspace && 0 !== n.hspace || (r = n.hspace), {
                vSpace: e,
                hSpace: r
            }
        }, ia: function (t, n) {
            var i = m.xt[t];
            return "button" === n ? i.verticalType = "bottom" : "couplet" === n && (i.verticalType = "top"), i
        }, ea: function (t, n) {
            var i;
            if (6 === t) {
                i = [];
                var e = y.an(n), r = y.an(n);
                r.St = "", e.containerInfo.location = 5, e.containerId = e.containerId + "_right", e.St = "", y.on(e), i.push(e), r.containerInfo.location = 4, r.containerId = r.containerId + "_left", y.on(r), i.push(r)
            }
            return i
        }, processSlotInfo: function (t) {
            var n = t.styleOpenApi, i = t.containerInfo, e = i.floated || {}, r = n.needClose,
                o = parseInt(n.closeTime || i.closeTime, 10) || 0, a = o && n.needTime, u = y.processSlotInfo(t),
                c = u.width, s = u.height, f = c, d = s, l = ["default", "couplet", "button", "popup"];
            l[3] = l[2];
            var h = l[parseInt(e.blockType || n.blockType, 10) || 0];
            d = r ? d + m.yt : d;
            var v = i.location, p = this.ia(v, h), _ = this.na(n, e, h), w = t.response.queryid;
            return {
                id: t.id,
                domId: t.containerId,
                containerDom: g.kt(t),
                width: c,
                height: s,
                containerWidth: f,
                containerHeight: d,
                verticalType: p.verticalType,
                horizontalType: p.horizontalType,
                followType: e.follow || 1,
                blockType: h,
                needClose: r,
                needTime: a,
                closeTime: o,
                vSpace: _.vSpace,
                hSpace: _.hSpace,
                queryId: w
            }
        }, render: function (t) {
            if (this.ta(t)) {
                if (y.sn(t.id, m.X), !y.Pn(t)) return !1;
                for (var n = t.styleOpenApi, i = t.containerInfo, e = i.location = parseInt(i.location || n.location, 10) || 0, r = this.ea(e, t) || [t], o = 0, a = r.length; o < a; o++) {
                    var u = r[o];
                    c.render(this.processSlotInfo(u), u)
                }
            }
        }
    }
}, function (t, n, u) {
    var c = u(1), a = u(2), o = u(7), s = u(0), f = u(12), d = u(3), e = u(5);
    t.exports = {
        ra: function (t) {
            var n = ["{iframe}", "{closeBtn}", "{closeTimeDom}"].join("");
            if (!t.blockType || "default" === t.blockType) return n;
            var i = ["box-sizing: content-box;", "width:{width}px;", "height:{height}px;", "border:#acacac 1px solid;", "overflow:hidden;"];
            return "button" === t.blockType && (i.push("position:absolute;left:0;"), t.needClose && i.push("top:" + c.yt + "px;")), n = ['<div style="' + i.join("") + '">', "{iframe}", "</div>", "{closeBtn}", "{closeTimeDom}"].join("")
        }, oa: function (t, n, i, e) {
            return '<div id="' + e + '" style="' + ["box-sizing: content-box;", "position:absolute;", "width:" + t.containerWidth + "px;", "left:0;", "cursor:pointer;", "background-color:#999999;", "color:#fff;font-size:12px;", "font-family: " + decodeURIComponent(n) + ";", "text-align:center;line-height:20px;"].join("") + '">' + decodeURIComponent(i) + "</div>"
        }, aa: function (t, n, i, e) {
            return ['<div id="' + e + '" style="' + ["box-sizing: content-box;", "float:right;", "clear:right;", "height:20px;top:0;", "left:" + (t.containerWidth - 61) + "px;", "margin:0;padding:0;margin-bottom:5px;", "cursor:pointer;overflow:hidden;"].join("") + '">', '<div style="', "box-sizing: content-box;", "width:40px;height:20px;", "background-color:#999999;", "color:#fff;float:left;", "margin-right:1px;font-size:12px;", "font-family:" + decodeURIComponent(n) + ";", "text-align: center;line-height:20px;", '">' + decodeURIComponent(i) + "</div>", '<a style="maring:0;padding:0;', "display:inline-block;border:none;", "overflow:hidden;height:20px;", "line-height:20px;cursor:pointer;", "width:20px;background:url(", "'https://cpro.baidustatic.com/cpro/ui/", "noexpire/img/2.0.1/xuanfu_close.png", "') no-repeat 0 0;margin-bottom:3px;", 'float:left" ></a>', "</div>"].join("")
        }, ua: function (t) {
            var n = ["box-sizing: content-box;", "height:" + c.yt + "px;", "background:#f0f0f0;", "margin:0;", "padding:0;", "overflow:hidden;"].join(""),
                i = ["box-sizing: content-box;", "float:right;", "clear:right;", "margin:1px 5px 1px 0;", "width:39px;", "height:13px;", "cursor:pointer;", "background:url(https://cpro.baidustatic.com/cpro/ui/noexpire/img/clb/1.0.0/close.gif) no-repeat scroll 0 0;"].join("");
            return ['<div style="' + n + '">', '<span id="' + t.domId + '_closebtn" style="' + i + '" ', "onmouseover=\"this.style.backgroundPosition='0 -20px';\" ", "onmouseout=\"this.style.backgroundPosition='0 0';\" ", ">", "</span>", "</div>"].join("")
        }, ca: function (t) {
            var n = t.domId + "_closebtn";
            switch (t.blockType) {
                case"couplet":
                    return this.oa(t, "微软雅黑", "关闭", n);
                case"button":
                    return this.aa(t, "微软雅黑", "关闭", n);
                case"default":
                    return this.ua(t)
            }
        }, sa: function (t) {
            var n = t.domId + "_closeTime",
                i = ["position:absolute;", "right:0;", "top:0;", "width:30px;", "color:#999999;", "font-size:12px;", "text-align:center;", "border:1px solid;", "border-radius:20px;"].join("");
            return t.needTime && t.needClose && "button" === t.blockType && (i += "top:" + c.yt + "px;"), '<div id="' + n + '" style="' + i + '"></div>'
        }, fa: function (t) {
            var n = t.vSpace, i = t.verticalType;
            return i = i && "center" !== i ? i : "top", "center" === t.verticalType && (n = .5 * (o.$n() - t.containerHeight)), {
                cssName: i,
                cssValue: n
            }
        }, da: function (t) {
            var n = t.hSpace, i = t.horizontalType;
            return i = i && "center" !== i ? i : "left", "center" === t.verticalType && (n = .5 * (o.Yn() - t.containerWidth)), {
                cssName: i,
                cssValue: n
            }
        }, la: function (t) {
            var n = t.containerDom;
            n || ((n = document.createElement("div")).id = t.domId);
            var i = ["box-sizing: content-box;", "width: " + t.containerWidth + "px;", "height: " + t.containerHeight + "px;", "overflow: hidden;", "z-index: 2147483647;"];
            if (1 === t.followType) {
                if (!o.vi()) return null;
                i.push("position: fixed;")
            } else i.push("position: absolute;");
            var e = this.fa(t), r = this.da(t);
            return i.push(e.cssName + ":" + e.cssValue + "px;"), i.push(r.cssName + ":" + r.cssValue + "px;"), n.style.cssText = i.join(""), n
        }, ha: function (t) {
            var n = t.domId + "_closebtn", i = a.g(n);
            if (i) {
                var e = i.getElementsByTagName("div")[0], r = i.getElementsByTagName("a")[0];
                a.Ut(i, "click", s.O(this, this.closeBtnOnClickHandler, t)), a.Ut(i, "mouseover", s.O(this, this.closeBtnOnMouseOverHandler, t, i, e, r)), a.Ut(i, "mouseout", s.O(this, this.closeBtnOnMouseOutHandler, t, i, e, r))
            }
        }, closeBtnOnClickHandler: function (t, n) {
            var i = n.containerDom;
            this.Cn(i), e.Vn("floatAdClose", {jk: n.queryId || ""})
        }, closeBtnOnMouseOverHandler: function (t, n, i, e, r) {
            "couplet" === n.blockType ? i.style.backgroundColor = "#0066cc" : "button" === n.blockType && (e.style.backgroundColor = "#0066cc", r.style.backgroundImage = "url(https://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuanfu_mouseover_close.png)")
        }, closeBtnOnMouseOutHandler: function (t, n, i, e, r) {
            "couplet" === n.blockType ? i.style.backgroundColor = "#999999" : "button" === n.blockType && (e.style.backgroundColor = "#999999", r.style.backgroundImage = "url(https://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.1/xuanfu_close.png)")
        }, Cn: function (t) {
            t && t.parentNode && t.parentNode.removeChild(t)
        }, va: function (t, n) {
            var i = t.closeTime;
            if (0 < i) {
                var e = a.g(t.domId + "_closeTime") || {}, r = this;
                e.innerText = i;
                var o = setInterval(function () {
                    e.innerText = --i, 0 === i && (clearInterval(o), r.Cn(n))
                }, 1e3)
            }
        }, render: function (t, n) {
            var i = "", e = "";
            t.needClose && (i = this.ca(t)), t.closeTime && t.needTime && (e = this.sa(t));
            var r = this.ra(t),
                o = {width: t.width, height: t.height, iframe: f.getFrameHTML(n), closeBtn: i, closeTimeDom: e},
                a = this.la(t);
            a.innerHTML = s.h(r, o), t.containerDom || (t.containerDom = a, document.body.insertBefore(a, document.body.firstChild)), this.ha(t, a), this.va(t, a), "couplet" === t.blockType && u(17).ze(n);
            n.isPdbAd || d.sn(n.id, c.STATUS_FINISH)
        }
    }
}, function (t, n, i) {
    var r = i(11), e = i(54);
    t.exports = {
        setExpNumber: function (t, n) {
            var i = this.getDeliveryEntrance2ExpNumber(t.productLine), e = this.getPainter2ExpNumber(n);
            t.paramObj.exps = r.Gi([e, i, t.paramObj.exps])
        }, getPainter2ExpNumber: function (t) {
            return e.PAINTER_EXPS[t]
        }, getDeliveryEntrance2ExpNumber: function (t) {
            return e.DELIVERY_ENTRANCE_EXPS[t]
        }
    }
}, function (t, n) {
    t.exports = {
        DELIVERY_ENTRANCE_EXPS: {
            asd: "110009",
            asdv: "115001",
            asdr: "115002",
            clb: "110250",
            dup: "110251",
            adcodex: "110252",
            adcodexv: "115003",
            adcodexr: "115004",
            union: "110254"
        },
        PAINTER_EXPS: {
            "ds.inlay": "110257",
            "mobile.float": "110258",
            "mobile.inlayFix": "110259",
            "mobile.insideText": "110260",
            inlayFix: "110261",
            expand: "110262",
            insideText: "110264",
            dynamicFloat: "110265",
            bottomSearchBar: "110267",
            wapInsert: "110268"
        }
    }
}, function (t, n, i) {
    var e = i(1), r = String.fromCharCode(Math.floor(26 * Math.random()) + 97),
        o = String.fromCharCode(Math.floor(26 * Math.random()) + 97);
    e.F || (e.Hi = e.L + r + "c" + o + "m?", e.F = e.U + e.Hi)
}]);